C-DEngine 5.105

HttpServer..::..GetFile Method

Gets the contents of the file with the specified path.

Namespace:  WebSocketSharp.Server
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public byte[] GetFile(
	string path
)
Public Function GetFile ( _
	path As String _
) As Byte()
public:
array<unsigned char^>^ GetFile(
	String^ path
)

Parameters

path
Type: String
A String that represents the virtual path to the file to find.

Return Value

An array of Byte that receives the contents of the file, or nullNothingnullptra null reference (Nothing in Visual Basic) if it doesn't exist.