#if NET_2_0
+using System.Runtime.InteropServices;
+using System.Runtime.Serialization;
+
namespace System {
- public sealed class ApplicationIdentity {
+ [Serializable]
+ [ComVisible (false)]
+ public sealed class ApplicationIdentity: ISerializable {
private string _fullName;
private string _codeBase;
_fullName = applicationIdentityFullName;
}
- [MonoTODO ("URL but where does it comes from? manifest ?")]
+ //
+ // FIXME: "URL for deployment manifest", this message should be clearer!
+ //
public string CodeBase {
get { return _codeBase; }
}
{
return _fullName;
}
+
+ [MonoTODO ("Missing serialization")]
+ void ISerializable.GetObjectData (SerializationInfo info, StreamingContext context)
+ {
+ if (info == null)
+ throw new ArgumentNullException ("info");
+ }
}
}