ESET Online Help

Search
Select the topic

Prepare an environment

1.Open Microsoft Visual Studio and click File > New > Project.
 

vs_1

2.Select a Visual C# application type. In this example, we are using the Console App. Type a name for the application and click OK to create the project.
 

vs_2

3.In the project, right-click the project name in the Solution Explorer section and navigate to Manage NuGet packages for Solution.

 

vs_3

4.Navigate to the Browse section and look for the Microsoft.AspNet.WebApi.Client. Click the Microsoft.AspNet.WebApi.Client NuGet and select the check boxes on the right side of the window with the name of your project. Click Install to begin the NuGet installation.

 

vs_4

5.Click OK to confirm the installation.

 

vs_5

6.Click I Accept to confirm the license if you accept the terms.
 

vs_6

7.Paste the sample code in your project over the pre-generated code.
 

vs_7