FileServerUser.SetFileSystem Method
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9147)
SetFileSystem(FileSystemProvider, String)
Sets custom file system.
Declaration
public void SetFileSystem(FileSystemProvider provider, string virtualRootPath = null)
Parameters
Type | Name | Description |
---|---|---|
File |
provider | File system provider.
Set this to an instance of class derived from Read assembly.
|
String | virtualRootPath | Path to be used as virtual root directory. |
Remarks
The provider
argment can be
null
. In this case, the virtual root path is a local file system path.