コード例 #1
0
        public static IWarcraftClient BuildClient()
        {
            var credentials = ClientCredentialsSource.GetCredentials();

            return(new WarcraftClient(
                       clientId: credentials.ClientId,
                       clientSecret: credentials.ClientSecret,
                       region: Region.US,
                       locale: Locale.en_US));
        }
コード例 #2
0
        public static RawBlizzardClient BuildRawBlizzardClient()
        {
            var credentials = ClientCredentialsSource.GetCredentials();

            return(new RawBlizzardClient(credentials));
        }