HttpRequestEventArgsReadFile Method |
Namespace: Sfs2X.WebSocketSharp.Server
public byte[] ReadFile( string path )
An array of Byte or if it fails.
That array receives the contents of the file.
Exception | Condition |
---|---|
ArgumentNullException | path is . |
ArgumentException | path is an empty string. -or- path contains "..". |