VPStreamFinder GetFileStreamFromResources Method Virtual Photonics - VTS Library
Virtual Photonics
Returns a stream from resources (standard and embedded for Silverlight and desktop, respectively), given a file name and an assembly (project) name

Namespace: Vts.IO
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static Stream GetFileStreamFromResources(
	string fileName,
	string projectName
)

Parameters

fileName
Type: OnlineSystem String
Name of the file in resources
projectName
Type: OnlineSystem String
Project name where the resources are located

Return Value

Type: OnlineStream
Stream of data
See Also