What you are talking about is called a Service account. Think of a service account as a user, you don't have a log-in and password for it but it does have a drive account. You also cant log into it using the website version of drive. Everything has to go though the API.
string[] scopes =
new string[] { DriveService.Scope.Drive,
DriveService.Scope.DriveFile};
string keyFilePath = @"c:\file.p12" ; // found in developer console
string serviceAccountEmail = "xx@developer.gserviceaccount.com"; // found in developer console
//loading the Key file
var certificate = new X509Certificate2(keyFilePath, "notasecret", X509KeyStorageFlags.Exportable);
ServiceAccountCredential credential = new ServiceAccountCredential( new ServiceAccountCredential.Initializer(serviceAccountEmail)
{
Scopes = scopes
}.FromCertificate(certificate));
Creating the service:
DriveService service = new DriveService(new BaseClientService.Initializer()
{
HttpClientInitializer = credential,
ApplicationName = "Drive API Sample",
});
All requests will then be run though the service
. I have a tutorial that will walk you though that and there is a sample project on GitHub to go along with it. Google Drive API with C# Note: the tutorial uses oauth2 use the above authentication code to authenticate with a Service Account.