FileServerUser.SetFileSystem Method
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9083)
SetFileSystem(FileSystemProvider, String)
Sets custom file system.
Declaration
public void SetFileSystem(FileSystemProvider provider, string virtualRootPath = null)
Parameters
Type | Name | Description |
---|---|---|
FileSystemProvider | provider | File system provider. Set this to an instance of class derived from ReadWriteFileSystemProvider or ReadOnlyFileSystemProvider provided by 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.