+ protected StrongNameKeyPair (SerializationInfo info, StreamingContext context)
+ {
+ _publicKey = (byte []) info.GetValue ("_publicKey", typeof (byte []));
+ _keyPairContainer = info.GetString ("_keyPairContainer");
+ _keyPairExported = info.GetBoolean ("_keyPairExported");
+ _keyPairArray = (byte []) info.GetValue ("_keyPairArray", typeof (byte []));
+ }
+
+ void ISerializable.GetObjectData (SerializationInfo info, StreamingContext context)
+ {
+ info.AddValue ("_publicKey", _publicKey, typeof (byte []));
+ info.AddValue ("_keyPairContainer", _keyPairContainer);
+ info.AddValue ("_keyPairExported", _keyPairExported);
+ info.AddValue ("_keyPairArray", _keyPairArray, typeof (byte []));
+ }
+
+ void IDeserializationCallback.OnDeserialization (object sender)
+ {
+ }
+