skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DotNetPlatformManager

Platform manager which can be used with full version of the .NET Framework.

Inheritance
System.Object
DotNetPlatformManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Zip.Extensions
Assembly: Telerik.Windows.Zip.Extensions.dll

Syntax

public class DotNetPlatformManager : IPlatformManager

Constructors

DotNetPlatformManager()

Initializes a new instance of the DotNetPlatformManager class.

Declaration
public DotNetPlatformManager()

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
public string AltDirectorySeparatorChar { get; }
Property Value
System.String

Implements
IPlatformManager.AltDirectorySeparatorChar

DefaultEncoding

Gets default encoding for this platform.

Declaration
public Encoding DefaultEncoding { get; }
Property Value
System.Text.Encoding

Implements
IPlatformManager.DefaultEncoding

DirectorySeparatorChar

Gets a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.

Declaration
public string DirectorySeparatorChar { get; }
Property Value
System.String

Implements
IPlatformManager.DirectorySeparatorChar

TemporaryStreamType

Gets or sets type of the temporary stream. The default value is TemporaryStreamType.Memory.

Declaration
public TemporaryStreamType TemporaryStreamType { get; set; }
Property Value
TemporaryStreamType

Methods

CreateTemporaryStream()

Creates temporary stream.

Declaration
public Stream CreateTemporaryStream()
Returns
System.IO.Stream

Stream will be used for temporary operations.

Implements
IPlatformManager.CreateTemporaryStream()

DeleteTemporaryStream(Stream)

Deletes temporary stream.

Declaration
public void DeleteTemporaryStream(Stream stream)
Parameters
System.IO.Stream stream

Stream to delete.

Implements
IPlatformManager.DeleteTemporaryStream(Stream)

GetCryptoProvider(EncryptionSettingsBase)

Gets crypto provider initialized using given encryption settings.

Declaration
public ICryptoProvider GetCryptoProvider(EncryptionSettingsBase settings)
Parameters
EncryptionSettingsBase settings

Encryption settings.

Returns
ICryptoProvider

Crypto provider.

Implements
IPlatformManager.GetCryptoProvider(EncryptionSettingsBase)
Exceptions
System.NotSupportedException

Specified crypto algorithm is not supported.

GetCryptoStream(EncryptionSettingsBase, Stream, StreamOperationMode, ICryptoProvider, CompressionSettings)

Gets crypto stream initialized using given encryption settings.

Declaration
public Stream GetCryptoStream(EncryptionSettingsBase encryptionSettings, Stream baseStream, StreamOperationMode mode, ICryptoProvider cryptoProvider, CompressionSettings compressionSettings)
Parameters
EncryptionSettingsBase encryptionSettings

Encryption settings.

System.IO.Stream baseStream

Stream.

StreamOperationMode mode

Stream operation mode.

ICryptoProvider cryptoProvider

Crypto provider.

CompressionSettings compressionSettings

Compression settings.

Returns
System.IO.Stream

Crypto stream.

Implements
IPlatformManager.GetCryptoStream(EncryptionSettingsBase, Stream, StreamOperationMode, ICryptoProvider, CompressionSettings)
Exceptions
System.NotSupportedException

Specified crypto algorithm is not supported.

IsEncodingSupported(Encoding)

Indicates whether specified encoding is supported for this platform.

Declaration
public bool IsEncodingSupported(Encoding encoding)
Parameters
System.Text.Encoding encoding

Encoding.

Returns
System.Boolean

true if encoding is allowed in the ZIP file.

Implements
IPlatformManager.IsEncodingSupported(Encoding)
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.