Find the answer to your question
Is there sample code on using GetAccount with the .NET SDK?
GetAccount sample implemented in C# using Visual Studio .NET (original version, not 2003 or 2005) using eBay SDK v471.0 for .NET
The attached command line sample project contains an implementation of GetAccount.
Any version of Visual Studio .NET
The attached project uses the original version of Visual Studio .NET
If you have a newer version of Visual Studio .NET, you should let it automatically convert the project when prompted to do so. This will result in a project that is fully functional for the Visual Studio .NET verison that you are using.
1. Before you build this sample project, please make sure to check that the project's reference to eBay.Service is valid.
The path to this reference is D:\Program Files\eBay\eBay SDK v471.0 for .NET\eBay.Service.dll in this sample.
If needed, remove the existing reference, and add the reference again pointing to whereever this file is on your computer.
2. Before you run the sample, you will need to fill in your information in place of the "xxx" in the following lines of source code:
// set the dev,app,cert information
oContext.ApiCredential.ApiAccount.Developer = "xxx";
oContext.ApiCredential.ApiAccount.Application = "xxx";
oContext.ApiCredential.ApiAccount.Certificate = "xxx";
// set the AuthToken
oContext.ApiCredential.eBayToken = "xxx";
Please note that the default API URL is set to Production:
oContext.SoapApiServerUrl = "https://api.ebay.com/wsapi";
The attached project is based on the following versions:
|.NET SDK Version||471 Full Release|
|Visual Studio||Original .NET (not 2003 or 2005)|