Reputation: 1069
I've read some posts here and found some c# examples but I'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!!
Upvotes: 0
Views: 1425
Reputation: 81801
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.
Upvotes: 1