C# Class TubeGuardian.clsSettingsManager

显示文件 Open project: joshgoodwin/TubeGuardian Class Usage Examples

Public Methods

Method Description
DisableVideo ( string VideoID ) : void
Dispose ( ) : void
EnableVideo ( string VideoID ) : void
StopActing ( ) : void
clsSettingsManager ( ) : System
clsSettingsManager ( string Username, string Password ) : System

Private Methods

Method Description
CoInternetSetFeatureEnabled ( int FeatureEntry, [ dwFlags, bool fEnable ) : int
_activity_timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
_check_login_info ( ) : void
_do_get_request ( string url, CookieContainer cookieJar ) : void
_do_next_action ( ) : void
_do_post_request ( string url, string post_data, CookieContainer CookieJar ) : void
_getDocumentFromHTML ( string html ) : HTMLDocumentClass
_getElementByName ( IHTMLDocument3 doc, string name ) : IHTMLElement
_getInputElement ( string html, string name ) : string
_getSelectedElement ( string html, string name ) : string
_getSelectedRadioElement ( string html, string name ) : string
_getTextAreaElement ( string html, string name ) : string
_get_cookies ( ) : void
_get_login_form ( string html ) : string
_get_redirect_url ( string html ) : string
_get_selected_option ( IHTMLElementCollection options ) : IHTMLInputElement
_get_settings_form ( string html, bool Enabled ) : string
_post_response_fetcher_DoWork ( object sender, System e ) : void
_post_response_fetcher_ProgressChanged ( object sender, System e ) : void
_post_response_fetcher_RunWorkerCompleted ( object sender, System e ) : void
_raise_exception ( Exception e ) : void
_raise_failure ( FailureCodes f ) : void
_raise_status_change ( InternalState s ) : void
_raise_success ( FailureCodes f ) : void
_remove_action ( string VideoID ) : void
_worker_thread_get_response ( object sender, System e ) : void
_worker_thread_getting_response ( object sender, System e ) : void
_worker_thread_got_response ( object sender, System e ) : void

Method Details

DisableVideo() public method

public DisableVideo ( string VideoID ) : void
VideoID string
return void

Dispose() public method

public Dispose ( ) : void
return void

EnableVideo() public method

public EnableVideo ( string VideoID ) : void
VideoID string
return void

StopActing() public method

public StopActing ( ) : void
return void

clsSettingsManager() public method

public clsSettingsManager ( ) : System
return System

clsSettingsManager() public method

public clsSettingsManager ( string Username, string Password ) : System
Username string
Password string
return System