Rahul Patil

Rahul Patil

  • 1.6k
  • 183
  • 30.8k

Create gmail account without phone number using c#

Apr 10 2023 4:57 AM

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 = ""; 
            //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;
            //    }
            //}
        }
    }

need help


Answers (4)