Skip to main content
Published: January 08 2018, 12:09:00 PMUpdated: November 28 2020, 12:54:18 PM

.NET SDK with oAuth Support.

Please download the below mentioned .NET SDK which has oAuth Support. The API Release Version is 1035.


In order to use oAuth in .NET SDK, follow the steps mentioned below:

1) When Auth and Auth token is registered in the ApiCredential object, the Auth and Auth token string is passed into the SOAP header container. 

2) When oAuth token is registered in the ApiCredential object, X-EBAY-API-IAF-TOKEN is set with the oAuthToken value and the <soap:Header> is removed in the SOAP request payload. 

3) When both oAuth and Auth&Auth tokens are registered in the APICredential object, oAuth Token is ignored.      

Way to use oAuth in .NET Code:

a) Create an object of ApiCredential:
ApiCredential apiCredential= new ApiCredential();

b) Assign the oAuthToken property of ApiCredential to the oAuthToken. 
apiCredential.oAuthToken="oAuthToken Here";


.NET 4.0 :
Please download any of these files. 


.NET 2.0 :

Please download any of these files. 

How well did this answer your question?
Answers others found helpful