AWS SDK for .NET Documentation
DetermineRegion Method (url)
AmazonAmazon.UtilAWSSDKUtilsDetermineRegion(String) Did this page help you?   Yes   No    Tell us about it...
Attempt to infer the region for a service request based on the endpoint
Declaration Syntax
C#
public static string DetermineRegion(
	string url
)
Parameters
url (String)
Endpoint to the service to be called
Return Value
Region parsed from the endpoint; DefaultRegion (or DefaultGovRegion) if it cannot be determined/is not explicit

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)