C# Class FubarDev.FtpServer.FileSystem.DotNet.DotNetFileSystemProvider

A IFileSystemClassFactory implementation that uses the standard .NET functionality to provide file system access.
Inheritance: IFileSystemClassFactory
Afficher le fichier Open project: FubarDevelopment/FtpServer Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string userId, bool isAnonymous ) : Task
DotNetFileSystemProvider ( [ rootPath ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder, int streamBufferSize ) : System.IO

Initializes a new instance of the DotNetFileSystemProvider class.

Method Details

Create() public méthode

public Create ( string userId, bool isAnonymous ) : Task
userId string
isAnonymous bool
Résultat Task

DotNetFileSystemProvider() public méthode

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath ) : System.IO
rootPath [ The root path for all users
Résultat System.IO

DotNetFileSystemProvider() public méthode

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder ) : System.IO
rootPath [ The root path for all users
useUserIdAsSubFolder bool Use the user id as subfolder?
Résultat System.IO

DotNetFileSystemProvider() public méthode

Initializes a new instance of the DotNetFileSystemProvider class.
public DotNetFileSystemProvider ( [ rootPath, bool useUserIdAsSubFolder, int streamBufferSize ) : System.IO
rootPath [ The root path for all users
useUserIdAsSubFolder bool Use the user id as subfolder?
streamBufferSize int Buffer size to be used in async IO methods
Résultat System.IO