PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Framework­Variants Class / Framework­Variants Methods / Framework­Variants.​From­Bytes Method

FrameworkVariants.FromBytes Method

Convert a byte array (typically containing the public key token of mscorlib) into a string that can be compared to one of the constants defined in this class.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public static string FromBytes(
	byte[] bytes
)

Parameters

bytes
Type: System.Byte[]
A byte array (typically containing the public key token of mscorlib)

Return Value

Type: String
A string that can be compared to one of the constants defined in this class
See Also