SaslMechanismTryGetChannelBinding Method

Try to get a channel-binding.

Definition

Namespace: MailKit.Security
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
protected bool TryGetChannelBinding(
	ChannelBindingKind kind,
	out ChannelBinding?? channelBinding
)

Parameters

kind  ChannelBindingKind
The kind of channel-binding desired.
channelBinding  ChannelBinding
A buffer containing the channel-binding.

Return Value

Boolean
if the channel-binding token was acquired; otherwise, .

Remarks

Tries to get the specified channel-binding.

  Note

This method is only available on .NET 8.0 and later.

See Also