Accessing Access Gateway programmatically

1.9k Views Asked by At

is there any way to connect to citrix access gateway using some api, so that credentials for authentication are sent through that program, the user is authenticated and then is able to access internal resources. I saw about NITRO Api, and Web interface SDK...is this thing can be done using any of theses...which one of them is a better choice?

1

There are 1 best solutions below

0
On

There is an API available by using the COM object WFICA.OCX (this component is included with the installation of the Citrix client).

I believe this provides what you are looking for - you can set properties for username and password. (Note: I haven't yet been able to get a working example for myself.)

Documentation for the API is available on the Citrix Developer Network: - ICA Client Object SDK - Citrix ICA Client Object SDK Overview

There is also a detailed tutorial in Fun with the ICA Client Object (ICO) and .Net Console Applications on the Citrix blog. I was first referred to this blog post by another Stack Overflow user after asking the question Detect termination of Citrix session launched by kiosk application.