StrongNameKeyPair Constructor (FileStream^)

 

Initializes a new instance of the StrongNameKeyPair class, building the key pair from a FileStream.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public:
StrongNameKeyPair(
	FileStream^ keyPairFile
)

Parameters

keyPairFile
Type: System.IO::FileStream^

A FileStream containing the key pair.

Exception Condition
ArgumentNullException

keyPairFile is null.

SecurityException

The caller does not have the required permission.

SecurityPermission

for access to unmanaged code. Associated enumeration: SecurityPermissionFlag::UnmanagedCode.

.NET Framework
Available since 1.1
Return to top
Show: