True if this object is connected to the real drive.
Namespace: EAL.EALConnectionAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
C# |
---|
public bool IsConnected { get; } |
Visual Basic |
---|
Public ReadOnly Property IsConnected As Boolean
Get |
Visual C++ |
---|
public:
virtual property bool IsConnected {
bool get () sealed;
} |
Property Value
Type:
BooleanImplements
IEALConnection..::..IsConnected
Examples
| Copy |
---|
private static void Method1()
{
using (IEALConnection ealConnection = new EALConnection())
{
ealConnection.Connect("192.168.0.10");
Console.WriteLine("Connected - " + ealConnection.IsConnected);
ealConnection.Disconnect();
Console.WriteLine("Connected - " + ealConnection.IsConnected);
}
} |
See Also