I have a Windows app that access a Google spreadsheet to create a phone book. When I try to open the phone book, I get flagged with System.NotImplementedException: The method or operation is not implemented.
I'm not really sure why, because it seems like it is being implemented?
This is the first spot that's being flagged with the issue:
internal object FromCertificate(X509Certificate2 certificate)
{
throw new NotImplementedException(); //Error flags this line
}
This is the second. As far as I can tell, there's nothing wrong with this part but it's still flagging an exception.
ServiceAccountCredential credential = new ServiceAccountCredential(
new ServiceAccountCredential.Initializer(serviceAccountEmail)
{
Scopes = new[] { "https://www.googleapis.com/auth/spreadsheets", "https://docs.google.com/feeds" }
}.FromCertificate(certificate));
Any suggestions would be really appreciated. I'm using C# with Visual Studio 2015.