How to connect to a server in CS:GO programmatically?

I need when clicking the button in C# application.Start CS:GO (if was closed) and connected to a specific game server.No API for the game is not found. Tell me how you can implement
March 19th 20 at 08:53
1 answer
March 19th 20 at 08:55
Via Steam? Try to run it as a normal external executable, but with the key:
+connect <ip>:<port>
A possible example in code please? - Deangelo37 commented on March 19th 20 at 08:58
@Deangelo37, today hardly, I'm not at a computer. - Sven_Collier commented on March 19th 20 at 09:01
@Sven_Collier, okay, thanks for that - Deangelo37 commented on March 19th 20 at 09:04
@Deangelo37, https://www.codeproject.com/Articles/4272/Using-Di... - here is the sample code, only the path and parameters to change - ernie20 commented on March 19th 20 at 09:07
@Sven_Collier, in General, a CS starts but connection is not happening - Deangelo37 commented on March 19th 20 at 09:10

Find more questions by tags Development of gamesC#API