Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7945565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:54:15+00:00 2026-06-04T00:54:15+00:00

I am attempting some experiments using the code samples provided near the bottom of

  • 0

I am attempting some experiments using the code samples provided near the bottom of the page

Below are extracts of my VB.NET code based on the link above.
Somewhere in the translation I’m missing what is going on here:

Dim auth = New OAuth2Authenticator(Of NativeApplicationClient)(provider, GetAuthorization)

The GetAuthorization method has a signature:

GetAuthorization(arg As NativeApplicationClient)

I am clearly missing something very obvious about the syntax translation between C# and VB.NET, because there is no parameter supplied at the method call in the C# version on the link I supplied.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:54:16+00:00Added an answer on June 4, 2026 at 12:54 am

    You must specify the AddressOf parameter to reference a method.

    Dim auth = New OAuth2Authenticator(Of NativeApplicationClient)(provider, AddressOf GetAuthorization)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to wrap some C code in Python using Pyrex. I've run
I am attempting to debug some C code using the visual studio debugger. I
Currently attempting to get some code to compile using Lejos for the Lego NXT
I'm attempting to bring some .net 1.1 legacy code into .net 2.0 and some
I am attempting to write some code to read in a *.CSPROJ file using
I'm attempting to learn some Python and Tkinter. The sample code below is intended
I am attempting to rewrite some code that was using FileSearch for Excel 2003
I've been reading through a few asp.net articles, and attempting some code, but I
I am attempting add some tests to an existing QT GUI application using QTest.
I'm attempting to build some C++ code that requires the Windows 7.0 SDK header

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.