C# Class HCS_Encoder.TransferAgent

Mostra file Open project: i-e-b/HLS---Smooth-Encoder Class Usage Examples

Public Methods

Method Description
Transfer ( Uri From ) : Stream

Transfer from a source Uri stream to destination Stream. Uris may contain username and password information -- this will be used to make the connection.

Transfer ( Stream From, Uri To ) : void

Transfer from a source data stream to destination Uri. Uris need not be the same type or on the same server. Uris may contain username and password information -- this will be used to make the connection. Destination files will be overwritten if needed and possible.

Transfer ( Uri From, Uri To ) : void

Transfer from a source Uri to a destination Uri. Uris need not be the same type or on the same server. Uris may contain username and password information -- this will be used to make the connection. Destination files will be overwritten if needed and possible.

This method DOES NOT try to create missing directories. All of the directories in the destination path should exist and have proper permissions.

Method Details

Transfer() public static method

Transfer from a source Uri stream to destination Stream. Uris may contain username and password information -- this will be used to make the connection.
public static Transfer ( Uri From ) : Stream
From System.Uri Source data stream
return Stream

Transfer() public static method

Transfer from a source data stream to destination Uri. Uris need not be the same type or on the same server. Uris may contain username and password information -- this will be used to make the connection. Destination files will be overwritten if needed and possible.
public static Transfer ( Stream From, Uri To ) : void
From Stream Source data stream
To System.Uri Destination Uri. Should resolve to a file.
return void

Transfer() public static method

Transfer from a source Uri to a destination Uri. Uris need not be the same type or on the same server. Uris may contain username and password information -- this will be used to make the connection. Destination files will be overwritten if needed and possible.
This method DOES NOT try to create missing directories. All of the directories in the destination path should exist and have proper permissions.
public static Transfer ( Uri From, Uri To ) : void
From System.Uri Source Uri. Should resolve to a file.
To System.Uri Destination Uri. Should resolve to a file.
return void