SslServerAuthenticationOptions.ServerCertificateSelectionCallback Property
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.
Gets or sets the ServerCertificateSelectionCallback delegate responsible for the server certificate selection.
public:
property System::Net::Security::ServerCertificateSelectionCallback ^ ServerCertificateSelectionCallback { System::Net::Security::ServerCertificateSelectionCallback ^ get(); void set(System::Net::Security::ServerCertificateSelectionCallback ^ value); };
public System.Net.Security.ServerCertificateSelectionCallback? ServerCertificateSelectionCallback { get; set; }
public System.Net.Security.ServerCertificateSelectionCallback ServerCertificateSelectionCallback { get; set; }
member this.ServerCertificateSelectionCallback : System.Net.Security.ServerCertificateSelectionCallback with get, set
Public Property ServerCertificateSelectionCallback As ServerCertificateSelectionCallback
Property Value
Remarks
During the server connection establishment, the server first uses ServerCertificateSelectionCallback callback. If the delegate is not provided server uses LocalCertificateSelectionCallback provided as argument of SslStream.SslStream (for the .NET Framework compatibility). If none/neither of those callback are provided, the server falls back to ServerCertificate.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for