Just add reference to the StockRate.dll or just add StockRate.dll to the Bin folder. This DLL is Dependent on NewtonSoft JSON.net, Which is also provided inside Bin folder of this sample application.
Then add using StockRate
Now Create a Object for the class LiveStock
Then call the function StockRate like