The ConnectWise Control forum has moved to ConnectWise University! This forum has been locked and is in read-only mode. Click here for instructions on how to access the new forum.

Welcome Guest! You can not login or register.



Go to last post Go to first unread
#1 Posted : Tuesday, July 11, 2017 8:42:20 PM(UTC)

Rank: Guest

Joined: 7/7/2017(UTC)
Posts: 1
United States

I would like add the ability to launch the support client from our .Net application. At the present time, we open a URL, to our support site, in a web browser on the user's computer. This is a potential security issue for customer's that have locked down computer's.

I tried using the webbrowser control and opening our support website. That works fine, however the click-once client will not install properly using the webbrowser control. It looks for the manifest in the wrong directory.

Is there a hardcoded link to the click once client application? I have found code that will allow me to perform a click once install. (I would be open to pushing a exe or msi with our package if that is the best way.)

Any recommendations will be welcomed.


#2 Posted : Monday, July 17, 2017 11:36:38 AM(UTC)

Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,862
United States

Thanks: 3 times
Was thanked: 351 time(s) in 303 post(s)
From a .NET application, such as a C# WPF form, you can pretty easily invoke ClickOnce directly and pass the arguments to start a session.

Within the main class, make sure to import the dfshim library with:

[DllImport("dfshim", CharSet = CharSet.Auto)]

You can then make a call to the ConnectWise Control server to get the client launch parameters and pass it with the following:


Program.ShOpenVerbApplication(IntPtr.Zero, IntPtr.Zero, launchUrl, 0);

Where the launchUrl is the client launch parameters as defined here.
ScreenConnect Team
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.