C# Class CrashReporterDotNET.ReportCrash

Set SMTP server details and receiver email fields of this class instance to send crash reports directly in your inbox.
ファイルを表示 Open project: petergolde/PurplePen Class Usage Examples

Public Properties

Property Type Description
EnableSSL System.Boolean
Exception System.Exception
FromEmail String
Password String
Port int
SmtpHost String
TextIntro string
ToEmail String
UserName String

Public Methods

Method Description
Send ( ) : void

Sends exception report directly to receiver email address provided in ToEmail.

Send ( Exception exception ) : void

Sends exception report directly to receiver email address provided in ToEmail.

Private Methods

Method Description
ShowUI ( object crashReportDialog ) : void

Method Details

Send() public method

Sends exception report directly to receiver email address provided in ToEmail.
public Send ( ) : void
return void

Send() public method

Sends exception report directly to receiver email address provided in ToEmail.
public Send ( Exception exception ) : void
exception System.Exception Exception object that contains details of the exception.
return void

Property Details

EnableSSL public_oe property

Specify whether the SMTP client uses the Secure Socket Layer (SSL) to encrypt the connection.
public Boolean,System EnableSSL
return System.Boolean

Exception public_oe property

Gets or Sets exception that occur during application execution.
public Exception,System Exception
return System.Exception

FromEmail public_oe property

Gets or Sets email address used by crash reporter if user don't provide her email address.
public String FromEmail
return String

Password public_oe property

Gets or Sets the password used for SMTP transactions.
public String Password
return String

Port public_oe property

Gets or Sets the port used for SMTP transactions.
public int Port
return int

SmtpHost public_oe property

Gets or Sets name or IP address of the Host used for SMTP transactions.
public String SmtpHost
return String

TextIntro public_oe property

Text for a few key parts of the UI (for localization).
public string TextIntro
return string

ToEmail public_oe property

Gets or Sets email address where you want to receive crash reports.
public String ToEmail
return String

UserName public_oe property

Gets or Sets the username used for SMTP transactions.
public String UserName
return String