Download document from google drive using Google Drive API in .net -


i want download document google drive.for using google drive api.i new google drive api can 1 tell me how downlaod document google drive ?

i have try option https://developers.google.com/drive/manage-downloads#downloading_google_documents getting exception on line

httpwebrequest request = (httpwebrequest)webrequest.create( new uri(file.downloadurl.tostring()));

authenticator.applyauthenticationtorequest(request); httpwebresponse response = (httpwebresponse)request.getresponse();

like

{"the underlying connection closed: unexpected error occurred on send."}

{"unable read data transport connection: existing connection forcibly closed remote host."}

pls not creating desktop application in .net

can 1 me ?


Comments