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.
精彩评论