HttpListenerRequest.GetClientCertificate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the client's X.509 v.3 certificate.
public:
System::Security::Cryptography::X509Certificates::X509Certificate2 ^ GetClientCertificate();
public System.Security.Cryptography.X509Certificates.X509Certificate2? GetClientCertificate ();
public System.Security.Cryptography.X509Certificates.X509Certificate2 GetClientCertificate ();
member this.GetClientCertificate : unit -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Function GetClientCertificate () As X509Certificate2
Returns
A System.Security.Cryptography.X509Certificates object that contains the client's X.509 v.3 certificate.
Exceptions
A call to this method to retrieve the client's X.509 v.3 certificate is in progress and therefore another call to this method cannot be made.
Remarks
This method blocks until the certificate is retrieved.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.