HttpServerGetFile Method |
Note: This API is now obsolete.
Namespace: Sfs2X.WebSocketSharp.Server
[ObsoleteAttribute("This method will be removed.")] public byte[] GetFile( string path )
An array of Byte or if it fails.
That array represents the contents of the file.
| Exception | Condition |
|---|---|
| ArgumentNullException | path is . |
| ArgumentException | path is an empty string. -or- path contains "..". |