1,931 questions
Create gmail account without phone number using c#
Rahul Patil
46
Reputation points
I am working on desktop application. and I want to implement gmail account without phone number using c#. I search on google but not find any help. I spend a lot of time on google but not find any solution to create a gmail account without phone number. now I am thinking it is possible to create a gmail account without phone number it is possible? Code:
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Login_Click(object sender, EventArgs e)
{
string discoveryUri = "https://www.google.com/accounts/o8/id";
OpenIdRelyingParty openid = new OpenIdRelyingParty();
//var b = new UriBuilder(Request.Url) { Query = "" };
var req = openid.CreateRequest(discoveryUri);
req.RedirectToProvider();
}
private void Form1_Load(object sender, EventArgs e)
{
//OpenIdAjaxRelyingParty rp = new OpenIdAjaxRelyingParty();
//var r = rp.GetResponse();
//if (r != null)
//{
// switch (r.Status)
// {
// case AuthenticationStatus.Authenticated:
// NotLoggedIn.Visible = false;
// Session["GoogleIdentifier"] = r.ClaimedIdentifier.ToString();
// Response.Redirect("Default2.aspx");
// break;
// case AuthenticationStatus.Canceled:
// lblAlertMsg.Text = "Cancelled.";
// break;
// }
//}
}
}
and I am using below article :
Developer technologies Windows Forms
Developer technologies C#
11,567 questions
Sign in to answer