C# Class OmegleMTM.MTM

The Core instance that drives the program
Show file Open project: Naarkie/dot-omegle

Public Properties

Property Type Description
ChatBrowser Chatbox

Public Methods

Method Description
ConnectStrangers ( ) : void

Connects the strangers

MTM ( string tags ) : System

Creates new instance of the Man-In-The-Middle class

Reset ( ) : void
SendMessage ( Strangers s, string message ) : void

Sends a message as stranger s to the other stranger

Protected Methods

Method Description
OnStatusChanged ( StatusEventArgs se ) : void

Private Methods

Method Description
CaptchaRequired ( object sender, dotOmegle.CaptchaRequiredArgs e ) : void
Stranger1_Connected ( object sender, EventArgs e ) : void
Stranger1_MessageReceived ( object sender, dotOmegle.MessageReceivedArgs e ) : void
Stranger1_StrangerDisconnected ( object sender, EventArgs e ) : void

When stranger1 disconnects

Stranger1_UnhandledResponse ( object sender, dotOmegle.UnhandledResponseEventArgs e ) : void
Stranger1_WebException ( object sender, dotOmegle.WebExceptionEventArgs e ) : void
Stranger2_Connected ( object sender, EventArgs e ) : void
Stranger2_MessageReceived ( object sender, dotOmegle.MessageReceivedArgs e ) : void
Stranger2_StrangerDisconnected ( object sender, EventArgs e ) : void

When stranger 2 disconnects

Stranger2_UnhandledResponse ( object sender, dotOmegle.UnhandledResponseEventArgs e ) : void
Stranger2_WebException ( object sender, dotOmegle.WebExceptionEventArgs e ) : void
TypingStatusChanged ( Strangers s, bool TypingStatus ) : void

Method Details

ConnectStrangers() public method

Connects the strangers
public ConnectStrangers ( ) : void
return void

MTM() public method

Creates new instance of the Man-In-The-Middle class
public MTM ( string tags ) : System
tags string
return System

OnStatusChanged() protected method

protected OnStatusChanged ( StatusEventArgs se ) : void
se StatusEventArgs
return void

Reset() public method

public Reset ( ) : void
return void

SendMessage() public method

Sends a message as stranger s to the other stranger
public SendMessage ( Strangers s, string message ) : void
s Strangers Stranger your sending as
message string Message to send
return void

Property Details

ChatBrowser public property

public Chatbox,OmegleMTM ChatBrowser
return Chatbox