示例#1
0
        public void ReallyDoOpenAuthorizationPageInBrowser()
        {
            IOAuth2CloudStorageClient client = new GoogleCloudStorageClient(ClientId, RedirectUrl);
            string requestUrl = client.BuildAuthorizationRequestUrl(State, CodeVerifier);

            Process browserProcess = new Process();

            browserProcess.StartInfo.UseShellExecute = true;
            browserProcess.StartInfo.FileName        = requestUrl;
            browserProcess.Start();
        }