HandleSecureChannelCallback Delegate

Represents a method that will handle security protocol negotiation for a secure channel.

Syntax

public delegate void HandleSecureChannelCallback(
    IAsyncResult asyncResult
);

Parameters

Name Description
asyncResult An IAsyncResult object that contains the state of the asynchronous operation.

Remarks

The HandleSecureChannelCallback delegate is used by the SslStream class to notify an application when the asynchronous operation of establishing a secure channel completes.

When you create a delegate instance, you own the method that the delegate instance encapsulates. The HandleSecureChannelCallback delegate is typically used with the BeginSecureChannel method of the SslStream class.

The HandleSecureChannelCallback delegate is part of the .NET Framework's security infrastructure, enabling secure communication over networks.

Requirements

Assembly System.Net.dll
Namespace System.Net.Security
Platform Windows, Linux, macOS
Framework .NET Framework 4.5 and later, .NET Core 1.0 and later

See Also