コード例 #1
0
ファイル: Reference.cs プロジェクト: volkanytu/Portal
 /// <remarks/>
 public void RegisterAsync(Session Session, object userState) {
     if ((this.RegisterOperationCompleted == null)) {
         this.RegisterOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRegisterOperationCompleted);
     }
     this.InvokeAsync("Register", new object[] {
                 Session}, this.RegisterOperationCompleted, userState);
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: volkanytu/Portal
 public string Register(Session Session) {
     object[] results = this.Invoke("Register", new object[] {
                 Session});
     return ((string)(results[0]));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: volkanytu/Portal
 /// <remarks/>
 public void RegisterAsync(Session Session) {
     this.RegisterAsync(Session, null);
 }
コード例 #4
0
ファイル: CrmService.svc.cs プロジェクト: volkanytu/Portal
        string GetSession(SmsConfiguration smsConf)
        {
            string returnValue = string.Empty;

            Session ses = new Session();

            ses.AccountNumber = smsConf.AccountNumber;
            ses.UserName = smsConf.UserName;
            ses.Password = smsConf.Password;

            string session = mService.Register(ses);

            returnValue = session;

            return returnValue;
        }