varhost=Environment.GetEnvironmentVariable("ACRCLOUD_HOST")is{Length:>0}hostValue?hostValue:thrownewAssertInconclusiveException("ACRCLOUD_HOST environment variable is not found.");varaccessKey=Environment.GetEnvironmentVariable("ACRCLOUD_ACCESS_KEY")is{Length:>0}accessKeyValue?accessKeyValue:thrownewAssertInconclusiveException("ACRCLOUD_ACCESS_KEY environment variable is not found.");varaccessSecret=Environment.GetEnvironmentVariable("ACRCLOUD_ACCESS_SECRET")is{Length:>0}accessSecretValue?accessSecretValue:thrownewAssertInconclusiveException("ACRCLOUD_ACCESS_SECRET environment variable is not found.");usingvarclient=newACRCloudClient(host,accessKey,accessSecret);varsamplePath=Environment.GetEnvironmentVariable("ACRCLOUD_SAMPLE_PATH")is{Length:>0}value?value:thrownewAssertInconclusiveException("ACRCLOUD_SAMPLE_PATH environment variable is not found.");// ACRCloud requires signed multipart requests. The SDK helper computes// timestamp, signature, sample_bytes, and signature_version for you.varsample=awaitFile.ReadAllBytesAsync(samplePath);varresponse=awaitclient.IdentifyAudioAsync(sample:sample,sampleName:Path.GetFileName(samplePath));