MpnsCredential Constructors

Definition

Overloads

MpnsCredential()

Initializes a new instance of the MpnsCredential class.

MpnsCredential(Byte[], String)

Initializes a new instance of the MpnsCredential class.

MpnsCredential(X509Certificate, String)

Initializes a new instance of the MpnsCredential class.

MpnsCredential(String, String)

Initializes a new instance of the MpnsCredential class.

MpnsCredential()

Initializes a new instance of the MpnsCredential class.

public MpnsCredential ();
Public Sub New ()

Applies to

MpnsCredential(Byte[], String)

Initializes a new instance of the MpnsCredential class.

public MpnsCredential (byte[] certificateBuffer, string certificateKey);
new Microsoft.Azure.NotificationHubs.MpnsCredential : byte[] * string -> Microsoft.Azure.NotificationHubs.MpnsCredential
Public Sub New (certificateBuffer As Byte(), certificateKey As String)

Parameters

certificateBuffer
System.Byte[]

The certificate buffer.

certificateKey
System.String

The certificate key.

Applies to

MpnsCredential(X509Certificate, String)

Initializes a new instance of the MpnsCredential class.

public MpnsCredential (System.Security.Cryptography.X509Certificates.X509Certificate mpnsCertificate, string certificateKey);
new Microsoft.Azure.NotificationHubs.MpnsCredential : System.Security.Cryptography.X509Certificates.X509Certificate * string -> Microsoft.Azure.NotificationHubs.MpnsCredential
Public Sub New (mpnsCertificate As X509Certificate, certificateKey As String)

Parameters

mpnsCertificate
System.Security.Cryptography.X509Certificates.X509Certificate

The MPNS certificate.

certificateKey
System.String

The certificate key.

Applies to

MpnsCredential(String, String)

Initializes a new instance of the MpnsCredential class.

public MpnsCredential (string certificatePath, string certificateKey);
new Microsoft.Azure.NotificationHubs.MpnsCredential : string * string -> Microsoft.Azure.NotificationHubs.MpnsCredential
Public Sub New (certificatePath As String, certificateKey As String)

Parameters

certificatePath
System.String

The certificate path.

certificateKey
System.String

The certificate key.

Applies to