IFileAccessorGetFileByName Method

Gets the contents of an existing file by the file name.

Unless the requested file exists, throws an exception which type depends on the platform.

  Note

The format of file name (absolute or relative path, which folder is the base, encoding, etc) depends on the platform.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.74.9654.0
C#
Stream GetFileByName(
	string fileName
)

Parameters

fileName  String
File name to get the contents by.

Return Value

Stream
The file contents as a stream.

See Also