开发者

vb.net example to get google contacts using dotnetopenauth?

开发者 https://www.devze.com 2023-03-17 10:47 出处:网络
I\'ve read some posts here and found some c# examples but I开发者_如何学Python\'m unable to transfer them to vb.net :-( When I translate OAuthConsumer example from dotnetopenauth I always get the foll

I've read some posts here and found some c# examples but I开发者_如何学Python'm unable to transfer them to vb.net :-( When I translate OAuthConsumer example from dotnetopenauth I always get the following error message:

'DotNetOpenAuth.ApplicationBlock.InMemoryTokenManager' is not accessible in this context because it is 'Friend'.

in this line:

Private ReadOnly Property TokenManager() As InMemoryTokenManager

Is there anywhere a working example for vb.net? I've managed to use OpenID from dotnetopenauth to authenticate with Google but now I'm stuck with reading the contacts... Many thanks in advance!!


The ApplicationBlock is a source distribution in the .zip file so that you can copy and paste the bits of it you like directly into your own project, in which case a Friend class should work for you just fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号