Gets the Received Communication Channel Requests setting.
Namespace:
Linxter.SDKAssembly: Linxter.SDK (in Linxter.SDK.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
| C# |
|---|
ChannelApprovalType ChannelApprovalType { get; } |
| Visual Basic (Declaration) |
|---|
ReadOnly Property ChannelApprovalType As ChannelApprovalType |
Field Value
The Received Communication Channel Requests setting.
Examples
public void WarnUser() { // set up Linxter ILinxterMessaging messaging = new LinxterSDK(); ILinxterCommunicationChannel channel = messaging as ILinxterCommunicationChannel; // show a message to the user if they need to approve requests using WebManager if (channel.ChannelApprovalType.Equals(ChannelApprovalType.WebManager)) { MessageBox.Show("Please visit http://manager.linxter.com to approve all connection requests."); } }
Public Sub WarnUser() ' set up Linxter Dim messaging As ILinxterMessaging = New LinxterSDK() Dim channel As ILinxterCommunicationChannel = TryCast(messaging, ILinxterCommunicationChannel) ' show a message to the user if they need to approve requests using WebManager If channel.ChannelApprovalType.Equals(ChannelApprovalType.WebManager) Then MessageBox.Show("Please visit http://manager.linxter.com to approve all connection requests.") End If End Sub