using (var api = new OpenDart("YOUR_OPEN_DART_API_KEY"))
{
var response = await api.GetCorpCodeAsync();
...
}
public partial class Test : Window
{
public Test()
{
nint handle = new WindowInteropHelper(Application.Current.MainWindow).EnsureHandle();
InitializeComponent();
axAPI = new ShareInvest.AxKHCoreAPI(handle);
}
readonly ShareInvest.AxKHCoreAPI axAPI;
}