Click or drag to resize
Cimbalino ToolkitStreamExtensions Class
Provides a set of static (Shared in Visual Basic) methods for Stream instances.
Inheritance Hierarchy
SystemObject
  Cimbalino.Toolkit.ExtensionsStreamExtensions

Namespace: Cimbalino.Toolkit.Extensions
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public static class StreamExtensions

The StreamExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberComputeHMACSHA1Hash
Computes the HMACSHA1 hash for the current byte array.
Public methodStatic memberComputeHMACSHA256Hash
Computes the SHA256 hash for the current byte array.
Public methodStatic memberComputeMD5Hash
Computes the MD5 hash for the current byte array.
Public methodStatic memberComputeSHA1Hash
Computes the SHA1 hash for the current byte array.
Public methodStatic memberComputeSHA256Hash
Computes the SHA256 hash for the current byte array.
Public methodStatic memberToArray
Writes the stream contents to a byte array.
Public methodStatic memberToArrayAsync
Writes the stream contents to a byte array.
Top
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also