For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

GetSellerList sample in C# using eBay SDK v459.0 for .NET

  • Answer ID 475
  • Published 06/14/2006 12:00 AM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=475
Product
Is there sample code on using GetSellerList with the .NET SDK?
Attached is a Visual Studio .NET 2003 command line project in C# that shows how to make and process the GetSellerList call using eBay SDK v459.0 for .NET

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 v459.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";
File Attachments

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter