C#
Objective-C
C++/CLI
public bool IsActivated()
@property (nonatomic, assign, readonly) BOOL isActivated;
public:
bool IsActivated();
true if the connection has been activated; otherwise, false.
A connection is activated by calling Listen, Connect, or Accept. Therefore, if any of these methods has been called for the connection, IsActivated will return true. Otherwise, it will return false.