Share via


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
Byte[]

The certificate buffer.

certificateKey
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
X509Certificate

The MPNS certificate.

certificateKey
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
String

The certificate path.

certificateKey
String

The certificate key.

Applies to