The RemoteFileHelper type exposes the following members.

Constructors

  NameDescription
Public methodRemoteFileHelper
Initializes a new instance of the RemoteFileHelper class.

Methods

  NameDescription
Public methodCancelDownload
Cancels a current file download (based on the unique remote file name).
Public methodCancelUpload
Cancels a current file upload (based on the unique remote file name).
Public methodDownloadFile(String, BinaryWriter, Object)
Downloads a remote file and saves it to the specified stream.
Public methodDownloadFile(String, String, Object)
Downloads a remote file and saves it to the specified local location.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberNewLocalCacheFileName
Creates an empty temporary file in the local cache's temp directory.
Public methodStatic memberNewLocalFileName
Creates an empty temporary file in the local temp directory.
Public methodStatic memberNewRemoteFileName
Generates a valid and unique path and file name suitable for uploading to PersonalStorage on the server.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodUploadFile(String, String)
Uploads a local file into the specified remote location, without performing audio codec conversion.
Public methodUploadFile(String, BinaryReader, Object)
Uploads a stream into the specified remote location, without performing audio codec conversion.
Public methodUploadFile(String, String, Boolean)
Uploads a local file into the specified remote location.
Public methodUploadFile(String, BinaryReader, Boolean, Object)
Uploads a stream into the specified remote location.

Events

  NameDescription
Public eventDownloadProgressChanged
Occurs when the progress level changes for a downloading file.
Public eventUploadProgressChanged
Occurs when the progress level changes for an uploading file.

See Also