Telnet WillOption Event method.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
public virtual void OnWillOption( Object sender, TelnetWillOptionEventArgs e ) |
Visual Basic |
---|
Public Overridable Sub OnWillOption ( _ sender As Object, _ e As TelnetWillOptionEventArgs _ ) |
Visual C++ |
---|
public: virtual void OnWillOption( Object^ sender, TelnetWillOptionEventArgs^ e ) |
Parameters
- sender
- Type: System..::..Object
Object source for this event.
- e
- Type: Jscape.Telnet..::..TelnetWillOptionEventArgs
Event arguments for this event.
Remarks
By default, the TelnetSession declines all WILL option
requests from the TELNET server.
Examples
Override this method to handle TELNET server WillOption events.
CopyTelnetSession OnWillOption

public override void OnWillOption(object sender, TelnetWillOptionEventArgs e) { // process the WillOption. }