Use C# instead of autoit?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Use C# instead of autoit?

L4 Transporter

Random question.....do we have to use autoit for custom connectors or is it possible to use a different language such as C#?​

1 accepted solution

Accepted Solutions

L7 Applicator

Developing a custom connector in a different programming language should be possible. The tricky bit will be getting the connection-specific values (like the username/password/address of the account that the user connected with, and other properties) into your target application. For AutoIt, CyberArk provides a sample script which embeds a helper DLL that loads those values for you, so you can easily use them as variables in your AutoIt script. When you code a custom connector in C#, you could set up the PSM connection component so that PSM calls the app like this (from the commandline: "CustomCsharpConnector.exe -u {username} -p {password} -a {address}") and then develop your connector to parse the commandline flags into variables.

View solution in original post

2 REPLIES 2

L7 Applicator

Developing a custom connector in a different programming language should be possible. The tricky bit will be getting the connection-specific values (like the username/password/address of the account that the user connected with, and other properties) into your target application. For AutoIt, CyberArk provides a sample script which embeds a helper DLL that loads those values for you, so you can easily use them as variables in your AutoIt script. When you code a custom connector in C#, you could set up the PSM connection component so that PSM calls the app like this (from the commandline: "CustomCsharpConnector.exe -u {username} -p {password} -a {address}") and then develop your connector to parse the commandline flags into variables.

Thanks Bernhard. It could come in useful in certain situations where more complex logic is required​. Happy easter

  • 1 accepted solution
  • 360 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!