I downloaded a C# API package and installed it in C:\QuestradeAPI\CSharp folder, which has the following files:
samples
EULA.pdf
QuestradeAPI.Net.dll
QuestradeAPI.Net.tlb
ReadMe.txt
unins000.dat
unins000.exe
As the instruction, I run the below successfully.
C:\windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe /codebase /tlb QuestradeAPI.Net.dll
And also there are *.cs files (text) under samples folder.
I need to call these API functions in PS scripts but not sure how to Add-Type in ? Thanks.