C# Class SaasApp.Utility.UtilityHelper

ファイルを表示 Open project: yatendra/saasapp

Public Methods

Method Description
GetConnectionString ( ) : string
GetIsUserAdmin ( System.Web.HttpSessionStateBase session ) : bool
GetSubdomain ( string domain ) : string
GetUsername ( System.Web.HttpSessionStateBase session ) : string
HashPassword ( string password, string salt ) : string
SendEmail ( string toEmail, string subject, string body ) : void

Private Methods

Method Description
UtilityHelper ( ) : System
smtp_SendCompleted ( object sender, System e ) : void

Method Details

GetConnectionString() public static method

public static GetConnectionString ( ) : string
return string

GetIsUserAdmin() public static method

public static GetIsUserAdmin ( System.Web.HttpSessionStateBase session ) : bool
session System.Web.HttpSessionStateBase
return bool

GetSubdomain() public static method

public static GetSubdomain ( string domain ) : string
domain string
return string

GetUsername() public static method

public static GetUsername ( System.Web.HttpSessionStateBase session ) : string
session System.Web.HttpSessionStateBase
return string

HashPassword() public static method

public static HashPassword ( string password, string salt ) : string
password string
salt string
return string

SendEmail() public static method

public static SendEmail ( string toEmail, string subject, string body ) : void
toEmail string
subject string
body string
return void