Edit

Share via


SecCertificate.GetSerialNumber Method

Definition

Overloads

GetSerialNumber()

Developers should not use this deprecated method. Developers should use 'GetSerialNumber(out NSError)' instead.

GetSerialNumber(NSError)

GetSerialNumber()

Developers should not use this deprecated method. Developers should use 'GetSerialNumber(out NSError)' instead.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetSerialNumber(out NSError)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.None, "Use 'GetSerialNumber(out NSError)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetSerialNumber(out NSError)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetSerialNumber(out NSError)' instead.")]
public Foundation.NSData GetSerialNumber ();
member this.GetSerialNumber : unit -> Foundation.NSData

Returns

Attributes

Applies to

GetSerialNumber(NSError)

[ObjCRuntime.TV(11, 0)]
[ObjCRuntime.Watch(4, 0)]
public Foundation.NSData GetSerialNumber (out Foundation.NSError error);
member this.GetSerialNumber :  -> Foundation.NSData

Parameters

error
NSError

Returns

Attributes

Applies to