Elsinore

User Forum

www.screenconnect.com
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Need customization guidance
nkayoumi
#1 Posted : Friday, December 02, 2011 3:43:26 PM
Rank: Member
Joined: 12/1/2011
Posts: 20
Can someone please give me pointers on how to implement the following requirements:

We have a custom helpdesk chat software, which we use to help our clients with IT issues. The helpdesk operator software is a windows application, which we can customize any way we like. Our clients connect to the chat through a web browser window. What we need ScreenConnect for is to give our operators the ability to create a remote control session link by clicking a button on our windows application and sending it directly to the client's browser. This action would also launch the ScreenConnect automatically for our helpdesk operator for the remote control session that was just created. The helpdesk operator should not have to go to the ScreenConnect web portal or have to logon for every new session. Our chat system is connected to our custom user database for authentication and authorization. If possible, we would like to link our user database and authentication to ScreenConnect's. I'm assuming to make all this work, the ScreenConnect DLL(s) have to be packaged as part of our windows application for operators and installed on each operator's workstation.

Thanks,
Nader
Jake Morgan
#2 Posted : Monday, December 05, 2011 8:37:12 PM
Rank: Administration
Joined: 4/9/2010
Posts: 859
You'll probably want to launch our host client as a new process. You could use ClickOnce so that you don't have to package our binaries and you'll also get auto-updating, but you will take a hit on the initial download each time. Here is how you can launch the host client:

http://forum.screenconne...n-as-Host.aspx#post1515

You should create an asp.net "handler" to create the session and print out a join-able URL. There are quite a few threads on stuff like this:
https://www.google.com/s....screenconnect.com+ashx

If you'd rather call our JSON service, that's an option too.

As for sending a link to the clients browser, I'm not sure how that is done, but you can use this url format to do it:

http://screenconnect.yourcompany.com/?Code=[newcode]
nkayoumi
#3 Posted : Tuesday, December 06, 2011 4:17:34 PM
Rank: Member
Joined: 12/1/2011
Posts: 20
Thanks for responding Jake. I tried your sample code but got this error "'Elsinore.ServerExtensions' does not contain a definition for 'SessionManagerChannelFactory'" on this line of code:

Code:
using (var sessionManager = ServerExtensions.SessionManagerChannelFactory.CreateChannel())



On your forums, I found an entry, which suggests using this:

Code:
using (var sessionManager = Elsinore.ScreenConnect.ServiceChannelPool<Elsinore.ScreenConnect.ISessionManagerChannel>.Instance.Borrow())


I tried this and it compiled without any problems. But when I run the page, I get this error on the above line:

"System.InvalidOperationException: Sequence contains no matching element"

Any ideas?

Also, if this code launches the host client, how does it authenticate the user calling this page?
Jake Morgan
#4 Posted : Tuesday, December 06, 2011 4:23:53 PM
Rank: Administration
Joined: 4/9/2010
Posts: 859
Likely you were trying one of the examples that tried to join an existing session. You should hunt for an example that creates a session.

You can bypass authentication or you can authenticate one of several ways. Will your system be making that call?
nkayoumi
#5 Posted : Tuesday, December 06, 2011 5:04:59 PM
Rank: Member
Joined: 12/1/2011
Posts: 20
Yep, we have a windows application that needs to create a new session and launch the host client and generate a link for the guest to join the same session.
Jake Morgan
#6 Posted : Tuesday, December 06, 2011 5:18:40 PM
Rank: Administration
Joined: 4/9/2010
Posts: 859
Do you want to deal with authentication, or do you want to bypass it for these sessions that are created?
nkayoumi
#7 Posted : Tuesday, December 06, 2011 5:24:42 PM
Rank: Member
Joined: 12/1/2011
Posts: 20
We need to authenticate the host user for creating a new session. If we don't authenticate, then wouldn't anyone be able to go to this page "http://publicwebsite/LaunchHostClient.ashx?Tag=DURHAM" (from the example) and create a new session?
Users browsing this topic
Guest
Tag as favorite
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.