签名管理
更新时间:2023-09-06
申请签名
通过以下代码可以申请一个SMS签名:
SignatureCreateRequest request = new SignatureCreateRequest();
request.Content = "测试";
request.CountryType = "DOMESTIC";
request.ContentType = "MobileApp";
request.Description = "测试";
SignatureCreateResponse response = this.client.CreateSignature(request)
更新签名
通过以下代码可以更新一个SMS签名:
SignatureUpdateRequest request = new SignatureUpdateRequest();
request.Content = "测试";
request.CountryType = "DOMESTIC";
request.ContentType = "MobileApp";
request.Description = "测试";
this.client.UpdateSignature(request)
查询签名详情
通过以下代码可以查询一个SMS签名:
SignatureResponse signatureResponse = this.client.GetSignature(SignatureId);
删除签名
通过以下代码可以删除一个SMS签名:
this.client.DeleteSignature(SignatureId);