コード例 #1
0
		public OteCertificationRegistrar(params string[] domainNames)
		{
			wapi = new WAPI();
			cred = new Credential();
			cred.Account = "dontstayin";
			cred.Password = "******"; // TODO read this from database

			this.domainNames = domainNames;
			for (int i = 0; i < domainNames.Length; i++)
			{
				this.domainNames[i] = this.domainNames[i].ToLower();
			}

			orderDomainTransactionID = Guid.NewGuid().ToString();
			orderPrivacyTransactionID = Guid.NewGuid().ToString();
			otherTransactionIDs = new List<string>();
		}
コード例 #2
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string NameGenDB(string sCLTRID, Credential credential, string sKey, int nMaxResults, bool bExcludeTaken, string sTLDs, bool bAddPrefix, bool bAddSuffix, bool bAddDashes, bool bAddRelated, bool bAdvancedSplit, bool bBaseOnTop) {
     object[] results = this.Invoke("NameGenDB", new object[] {
                 sCLTRID,
                 credential,
                 sKey,
                 nMaxResults,
                 bExcludeTaken,
                 sTLDs,
                 bAddPrefix,
                 bAddSuffix,
                 bAddDashes,
                 bAddRelated,
                 bAdvancedSplit,
                 bBaseOnTop});
     return ((string)(results[0]));
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void SetShopperInfoAsync(
             string sCLTRID, 
             Credential credential, 
             string sUser, 
             string sEmail, 
             string sFirstName, 
             string sLastName, 
             string sPhone, 
             string sFax, 
             string sCompany, 
             string sAddress, 
             string sCity, 
             string sState, 
             string sZip, 
             string sCountry, 
             string sShopperPin, 
             object userState) {
     if ((this.SetShopperInfoOperationCompleted == null)) {
         this.SetShopperInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetShopperInfoOperationCompleted);
     }
     this.InvokeAsync("SetShopperInfo", new object[] {
                 sCLTRID,
                 credential,
                 sUser,
                 sEmail,
                 sFirstName,
                 sLastName,
                 sPhone,
                 sFax,
                 sCompany,
                 sAddress,
                 sCity,
                 sState,
                 sZip,
                 sCountry,
                 sShopperPin}, this.SetShopperInfoOperationCompleted, userState);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string SetShopperInfo(string sCLTRID, Credential credential, string sUser, string sEmail, string sFirstName, string sLastName, string sPhone, string sFax, string sCompany, string sAddress, string sCity, string sState, string sZip, string sCountry, string sShopperPin) {
     object[] results = this.Invoke("SetShopperInfo", new object[] {
                 sCLTRID,
                 credential,
                 sUser,
                 sEmail,
                 sFirstName,
                 sLastName,
                 sPhone,
                 sFax,
                 sCompany,
                 sAddress,
                 sCity,
                 sState,
                 sZip,
                 sCountry,
                 sShopperPin});
     return ((string)(results[0]));
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void ResetPasswordAsync(string sCLTRID, Credential credential, string sUser, string sPwd, string sEmail, string sPwdHint) {
     this.ResetPasswordAsync(sCLTRID, credential, sUser, sPwd, sEmail, sPwdHint, null);
 }
コード例 #6
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void UpdateDomainOwnershipAsync(string sCLTRID, Credential credential, string sResourceID, string sLosingOwner, GainingOwner gaining, object userState) {
     if ((this.UpdateDomainOwnershipOperationCompleted == null)) {
         this.UpdateDomainOwnershipOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateDomainOwnershipOperationCompleted);
     }
     this.InvokeAsync("UpdateDomainOwnership", new object[] {
                 sCLTRID,
                 credential,
                 sResourceID,
                 sLosingOwner,
                 gaining}, this.UpdateDomainOwnershipOperationCompleted, userState);
 }
コード例 #7
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string UpdateDomainOwnership(string sCLTRID, Credential credential, string sResourceID, string sLosingOwner, GainingOwner gaining) {
     object[] results = this.Invoke("UpdateDomainOwnership", new object[] {
                 sCLTRID,
                 credential,
                 sResourceID,
                 sLosingOwner,
                 gaining});
     return ((string)(results[0]));
 }
コード例 #8
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void CancelAsync(string sCLTRID, Credential credential, string sType, string[] sIDArray) {
     this.CancelAsync(sCLTRID, credential, sType, sIDArray, null);
 }
コード例 #9
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string OrderDomains(string sCLTRID, Credential credential, Shopper shopper, DomainRegistration[] items, DomainByProxy[] dbpItems, string sROID) {
     object[] results = this.Invoke("OrderDomains", new object[] {
                 sCLTRID,
                 credential,
                 shopper,
                 items,
                 dbpItems,
                 sROID});
     return ((string)(results[0]));
 }
コード例 #10
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void OrderCreditsAsync(string sCLTRID, Credential credential, Shopper shopper, OrderItem[] items, string sROID) {
     this.OrderCreditsAsync(sCLTRID, credential, shopper, items, sROID, null);
 }
コード例 #11
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void PollAsync(string sCLTRID, Credential credential, string sOp, object userState) {
     if ((this.PollOperationCompleted == null)) {
         this.PollOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPollOperationCompleted);
     }
     this.InvokeAsync("Poll", new object[] {
                 sCLTRID,
                 credential,
                 sOp}, this.PollOperationCompleted, userState);
 }
コード例 #12
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void PollAsync(string sCLTRID, Credential credential, string sOp) {
     this.PollAsync(sCLTRID, credential, sOp, null);
 }
コード例 #13
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string Poll(string sCLTRID, Credential credential, string sOp) {
     object[] results = this.Invoke("Poll", new object[] {
                 sCLTRID,
                 credential,
                 sOp});
     return ((string)(results[0]));
 }
コード例 #14
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void NameGenDBAsync(string sCLTRID, Credential credential, string sKey, int nMaxResults, bool bExcludeTaken, string sTLDs, bool bAddPrefix, bool bAddSuffix, bool bAddDashes, bool bAddRelated, bool bAdvancedSplit, bool bBaseOnTop, object userState) {
     if ((this.NameGenDBOperationCompleted == null)) {
         this.NameGenDBOperationCompleted = new System.Threading.SendOrPostCallback(this.OnNameGenDBOperationCompleted);
     }
     this.InvokeAsync("NameGenDB", new object[] {
                 sCLTRID,
                 credential,
                 sKey,
                 nMaxResults,
                 bExcludeTaken,
                 sTLDs,
                 bAddPrefix,
                 bAddSuffix,
                 bAddDashes,
                 bAddRelated,
                 bAdvancedSplit,
                 bBaseOnTop}, this.NameGenDBOperationCompleted, userState);
 }
コード例 #15
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void NameGenDBAsync(string sCLTRID, Credential credential, string sKey, int nMaxResults, bool bExcludeTaken, string sTLDs, bool bAddPrefix, bool bAddSuffix, bool bAddDashes, bool bAddRelated, bool bAdvancedSplit, bool bBaseOnTop) {
     this.NameGenDBAsync(sCLTRID, credential, sKey, nMaxResults, bExcludeTaken, sTLDs, bAddPrefix, bAddSuffix, bAddDashes, bAddRelated, bAdvancedSplit, bBaseOnTop, null);
 }
コード例 #16
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void OrderDomainBackOrdersAsync(string sCLTRID, Credential credential, Shopper shopper, DomainBackOrder[] items, string sROID, object userState) {
     if ((this.OrderDomainBackOrdersOperationCompleted == null)) {
         this.OrderDomainBackOrdersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnOrderDomainBackOrdersOperationCompleted);
     }
     this.InvokeAsync("OrderDomainBackOrders", new object[] {
                 sCLTRID,
                 credential,
                 shopper,
                 items,
                 sROID}, this.OrderDomainBackOrdersOperationCompleted, userState);
 }
コード例 #17
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string Cancel(string sCLTRID, Credential credential, string sType, string[] sIDArray) {
     object[] results = this.Invoke("Cancel", new object[] {
                 sCLTRID,
                 credential,
                 sType,
                 sIDArray});
     return ((string)(results[0]));
 }
コード例 #18
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void OrderDomainsAsync(string sCLTRID, Credential credential, Shopper shopper, DomainRegistration[] items, DomainByProxy[] dbpItems, string sROID) {
     this.OrderDomainsAsync(sCLTRID, credential, shopper, items, dbpItems, sROID, null);
 }
コード例 #19
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void CancelAsync(string sCLTRID, Credential credential, string sType, string[] sIDArray, object userState) {
     if ((this.CancelOperationCompleted == null)) {
         this.CancelOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCancelOperationCompleted);
     }
     this.InvokeAsync("Cancel", new object[] {
                 sCLTRID,
                 credential,
                 sType,
                 sIDArray}, this.CancelOperationCompleted, userState);
 }
コード例 #20
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void OrderPrivateDomainRenewalsAsync(string sCLTRID, Credential credential, Shopper shopper, DomainRenewal[] items, ResourceRenewal[] dbpItems, string sROID) {
     this.OrderPrivateDomainRenewalsAsync(sCLTRID, credential, shopper, items, dbpItems, sROID, null);
 }
コード例 #21
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void UpdateDomainOwnershipAsync(string sCLTRID, Credential credential, string sResourceID, string sLosingOwner, GainingOwner gaining) {
     this.UpdateDomainOwnershipAsync(sCLTRID, credential, sResourceID, sLosingOwner, gaining, null);
 }
コード例 #22
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void OrderDomainPrivacyAsync(string sCLTRID, Credential credential, Shopper shopper, DomainByProxy[] items, string sROID) {
     this.OrderDomainPrivacyAsync(sCLTRID, credential, shopper, items, sROID, null);
 }
コード例 #23
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string ResetPassword(string sCLTRID, Credential credential, string sUser, string sPwd, string sEmail, string sPwdHint) {
     object[] results = this.Invoke("ResetPassword", new object[] {
                 sCLTRID,
                 credential,
                 sUser,
                 sPwd,
                 sEmail,
                 sPwdHint});
     return ((string)(results[0]));
 }
コード例 #24
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string OrderResourceRenewals(string sCLTRID, Credential credential, Shopper shopper, ResourceRenewal[] items, string sROID) {
     object[] results = this.Invoke("OrderResourceRenewals", new object[] {
                 sCLTRID,
                 credential,
                 shopper,
                 items,
                 sROID});
     return ((string)(results[0]));
 }
コード例 #25
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void ResetPasswordAsync(string sCLTRID, Credential credential, string sUser, string sPwd, string sEmail, string sPwdHint, object userState) {
     if ((this.ResetPasswordOperationCompleted == null)) {
         this.ResetPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnResetPasswordOperationCompleted);
     }
     this.InvokeAsync("ResetPassword", new object[] {
                 sCLTRID,
                 credential,
                 sUser,
                 sPwd,
                 sEmail,
                 sPwdHint}, this.ResetPasswordOperationCompleted, userState);
 }
コード例 #26
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void OrderResourceRenewalsAsync(string sCLTRID, Credential credential, Shopper shopper, ResourceRenewal[] items, string sROID) {
     this.OrderResourceRenewalsAsync(sCLTRID, credential, shopper, items, sROID, null);
 }
コード例 #27
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void SetShopperInfoAsync(string sCLTRID, Credential credential, string sUser, string sEmail, string sFirstName, string sLastName, string sPhone, string sFax, string sCompany, string sAddress, string sCity, string sState, string sZip, string sCountry, string sShopperPin) {
     this.SetShopperInfoAsync(sCLTRID, credential, sUser, sEmail, sFirstName, sLastName, sPhone, sFax, sCompany, sAddress, sCity, sState, sZip, sCountry, sShopperPin, null);
 }
コード例 #28
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string OrderDomainBackOrders(string sCLTRID, Credential credential, Shopper shopper, DomainBackOrder[] items, string sROID) {
     object[] results = this.Invoke("OrderDomainBackOrders", new object[] {
                 sCLTRID,
                 credential,
                 shopper,
                 items,
                 sROID});
     return ((string)(results[0]));
 }
コード例 #29
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 public string CheckUser(string sCLTRID, Credential credential, string sType, string sUser, string sPwd) {
     object[] results = this.Invoke("CheckUser", new object[] {
                 sCLTRID,
                 credential,
                 sType,
                 sUser,
                 sPwd});
     return ((string)(results[0]));
 }
コード例 #30
0
ファイル: Reference.cs プロジェクト: davelondon/dontstayin
 /// <remarks/>
 public void OrderDomainBackOrdersAsync(string sCLTRID, Credential credential, Shopper shopper, DomainBackOrder[] items, string sROID) {
     this.OrderDomainBackOrdersAsync(sCLTRID, credential, shopper, items, sROID, null);
 }