private CreateObjrefMoniker ( [ punk ) : IMoniker | ||
punk | [ | |
Résultat | IMoniker |
public static byte[] MarshalObject(object obj) { IMoniker mk; mk = COMUtilities.CreateObjrefMoniker(obj); string name = COMUtilities.GetMonikerDisplayName(mk).Substring(7).TrimEnd(':'); Marshal.ReleaseComObject(mk); return(Convert.FromBase64String(name)); }