X509Certificate.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets serialization information with all the data needed to recreate an instance of the current X509Certificate object.

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

<SecurityCriticalAttribute>
Private Sub GetObjectData (
	info As SerializationInfo,
	context As StreamingContext
)
	Implements ISerializable.GetObjectData

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The object to populate with serialization information.

context
Type: System.Runtime.Serialization.StreamingContext

The destination context of the serialization.

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 2.0
Return to top
Show: