/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, CallSettings) // Additional: GetAsync(string, string, CancellationToken) // Create client LicenseCodesClient licenseCodesClient = await LicenseCodesClient.CreateAsync(); // Initialize request argument(s) string project = ""; string licenseCode = ""; // Make the request LicenseCode response = await licenseCodesClient.GetAsync(project, licenseCode); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetLicenseCodeRequest, CallSettings) // Additional: GetAsync(GetLicenseCodeRequest, CancellationToken) // Create client LicenseCodesClient licenseCodesClient = await LicenseCodesClient.CreateAsync(); // Initialize request argument(s) GetLicenseCodeRequest request = new GetLicenseCodeRequest { LicenseCode = "", Project = "", }; // Make the request LicenseCode response = await licenseCodesClient.GetAsync(request); // End snippet }