다음을 통해 공유


IRemoteFileSystemProvider Interface

Definition

Allows downloading files from a remote file system to the local file system.

public interface class IRemoteFileSystemProvider
public interface IRemoteFileSystemProvider
type IRemoteFileSystemProvider = interface
Public Interface IRemoteFileSystemProvider

Methods

ConvertLocalUriToRemoteUriAsync(Uri, CancellationToken)

Converts a local URI to a remote URI using the provider's URI scheme.

ConvertRemoteUriToLocalUriAsync(Uri, CancellationToken)

Converts a remote URI using the provider's URI scheme to a local URI.

DownloadFileAsync(Uri, IProgress<OperationProgressData>, CancellationToken)

Downloads a remote file if it has not already been downloaded.

GetIsConnectedAsync(CancellationToken)

Indicates whether the file system provider is connected to its remote source.

Events

Connected

Occurs when the provider is connected to its remote source. After this event is raised, the GetIsConnectedAsync(CancellationToken) method will return true.

Disconnected

Occurs when the provider is disconnected from its remote source. After this event is raised, the GetIsConnectedAsync(CancellationToken) method will return false.

Applies to