Download - C#.Net - How to create an API using VS2010
Mudasir Qazi - [email protected] 2
Steps
Two major steps are following• Creating Library (API)• Using Library (API Functions)
12-Dec-14
Mudasir Qazi - [email protected] 3
Creating Library (.dll)
• Step 1: Add new Project to the solution.• Step 2: From the new menu select “Class Library” and give
appropriate name.• Step 3: Create “Class” here and define all your functions in
here and save.• Step 4: Build the solution.• Step 5: Your library(.dll) is created in Bin folder of your class
library project in solution.
12-Dec-14
Mudasir Qazi - [email protected] 7
Using Library
• Step 1: Place that library in project (it could be same of difference project) folder (or any where you want) and add reference to your project.
• Step 2: include a using statement or give full name to create an object of that library.
• Step 3: Use your functions and enjoy! :D
12-Dec-14