Interface IPlatformManager
Interface which provides platform-specific operations.
Namespace: Telerik.WinForms.Spreadsheet.Zip
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public interface IPlatformManager
Properties
AltDirectorySeparatorChar
Gets a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization.
Declaration
string AltDirectorySeparatorChar { get; }
Property Value
System.String
|
DefaultEncoding
Gets default encoding for this platform.
Declaration
Encoding DefaultEncoding { get; }
Property Value
System.Text.Encoding
|
DirectorySeparatorChar
Gets a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.
Declaration
string DirectorySeparatorChar { get; }
Property Value
System.String
|
Methods
CreateTemporaryStream()
Creates temporary stream.
Declaration
Stream CreateTemporaryStream()
Returns
System.IO.Stream
Stream will be used for temporary operations. |
DeleteTemporaryStream(Stream)
Deletes temporary stream.
Declaration
void DeleteTemporaryStream(Stream stream)
Parameters
System.IO.Stream
stream
Stream to delete. |
GetCryptoProvider(EncryptionSettings)
Gets crypto provider initialized using given encryption settings.
Declaration
ICryptoProvider GetCryptoProvider(EncryptionSettings settings)
Parameters
EncryptionSettings
settings
Encryption settings. |
Returns
ICryptoProvider
Crypto provider. |
Exceptions
System.NotSupportedException
Specified crypto algorithm is not supported. |
IsEncodingSupported(Encoding)
Indicates whether specified encoding is supported for this platform.
Declaration
bool IsEncodingSupported(Encoding encoding)
Parameters
System.Text.Encoding
encoding
|
Returns
System.Boolean
|