Platform manager which can be used with full version of the .NET Framework.
Definition
Namespace:Telerik.Windows.Zip.Extensions
Assembly:Telerik.Windows.Zip.Extensions.dll
Syntax:
public class DotNetPlatformManager : IPlatformManager
Inheritance: objectDotNetPlatformManager
Implements:
Constructors
Initializes a new instance of the DotNetPlatformManager class.
public DotNetPlatformManager()
Methods
Creates temporary stream.
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
public Stream CreateTemporaryStream()
Stream will be used for temporary operations.
Implements:
Deletes temporary stream.
public void DeleteTemporaryStream(Stream stream)
Stream to delete.
Implements:
Gets crypto provider initialized using given encryption settings.
public ICryptoProvider GetCryptoProvider(EncryptionSettingsBase settings)
Encryption settings.
Returns:Crypto provider.
Exceptions:Specified crypto algorithm is not supported.
Implements:
Gets crypto stream initialized using given encryption settings.
public Stream GetCryptoStream(EncryptionSettingsBase encryptionSettings, Stream baseStream, StreamOperationMode mode, ICryptoProvider cryptoProvider, CompressionSettings compressionSettings)
Encryption settings.
baseStreamStreamStream.
modeStreamOperationModeStream operation mode.
cryptoProviderICryptoProviderCrypto provider.
compressionSettingsCompressionSettingsCompression settings.
Returns:Crypto stream.
Exceptions:Specified crypto algorithm is not supported.
Implements:
Properties
Gets a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization.
public string AltDirectorySeparatorChar { get; }
Implements:
Gets default encoding for this platform.
public Encoding DefaultEncoding { get; }
Implements:
Gets a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.
public string DirectorySeparatorChar { get; }
Implements:
Gets or sets type of the temporary stream. The default value is TemporaryStreamType.Memory.
public TemporaryStreamType TemporaryStreamType { get; set; }