ConnectedEntry Event

Fired for every connected device when the ListConnections method is called.

Syntax

public event OnConnectedEntryHandler OnConnectedEntry;

public delegate void OnConnectedEntryHandler(object sender, NetdialConnectedEntryEventArgs e);

public class NetdialConnectedEntryEventArgs : EventArgs {
  public object Handle { get; }
  public string Entry { get; }
  public string DeviceName { get; }
  public string DeviceType { get; }
  public string StatusDescription { get; }
}
Public Event OnConnectedEntry As OnConnectedEntryHandler

Public Delegate Sub OnConnectedEntryHandler(sender As Object, e As NetdialConnectedEntryEventArgs)

Public Class NetdialConnectedEntryEventArgs Inherits EventArgs
  Public ReadOnly Property Handle As Object
  Public ReadOnly Property Entry As String
  Public ReadOnly Property DeviceName As String
  Public ReadOnly Property DeviceType As String
  Public ReadOnly Property StatusDescription As String
End Class

Remarks

The Handle parameter can be used to disconnect the entry. You should assign Handle to the Handle property and then call the Disconnect method.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 .NET Edition - Version 20.0 [Build 8307]