SymmetricAlgorithm Constructor ()

 

Initializes a new instance of the SymmetricAlgorithm class.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

new : unit -> SymmetricAlgorithm

Exception Condition
CryptographicException

The implementation of the class derived from the symmetric algorithm is not valid.

You cannot create an instance of an abstract class. Application code creates a new instance of a derived class.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: