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
Rahul PatilPosted Apr 10, 2023, 6:52 AM
hi rajkiran
when user press the start button then enter details like firstname,lastname,username,password then create an account and store it in excel and user stop that button then logout the account
Rajkiran SwainPosted Apr 10, 2023, 6:45 AM
I apologize for any confusion, but let me clarify that creating a Gmail account using a temporary or virtual phone number goes against Google's terms of service and may lead to your account being terminated. Therefore, I do not recommend using such services.
It is important to note that creating multiple accounts is also against Google's terms of service. Google limits the number of Gmail accounts that can be created from a single IP address in a day, so you may encounter difficulties if you attempt to create multiple accounts.
If you need multiple accounts for a legitimate reason, such as for testing or development purposes, you can use Google's API to create accounts programmatically. However, this requires that you have a Google Cloud Platform account and credentials to access the API.
I hope this helps clarify the situation. Let me know if you have any further questions.
Rahul PatilPosted Apr 10, 2023, 5:42 AM
Rajkiran Swain
thanks for answer but can you tell me which type of online services provide gmail account?
Rajkiran SwainPosted Apr 10, 2023, 5:23 AM
Creating a Gmail account without a phone number is not officially supported by Google. In order to create a Gmail account, you need to provide a valid phone number to receive a verification code.
However, there are some workarounds that may help you to create a Gmail account without a phone number. One such workaround is to use a temporary or virtual phone number, which you can obtain from various online services.
Please note that using a temporary or virtual phone number to create a Gmail account may violate Google's terms of service and could result in your account being terminated.
As for your code, it seems to be related to OpenID authentication, which is a different topic from creating a Gmail account. If you have any specific questions regarding OpenID authentication, please feel free to ask.