SDK

Remote Desktop Manager - AddOn development forum

avatar

chris

SDK Documentation

Were can I find a documentation of classes in RemoteDesktopManager.AddOn Assembly ? Especially the RegisterInstallationPath method, or an Addon example Thx

571

4

avatar

David Hervieux

avatar

john.kenny

SDK Request!

Hi, Id like to request the RDM SDK please? Thanks for your help,

761

3

avatar

john.kenny

avatar

joffrey

Powershell on Linux ?

Hi, Is it possible to install RDM Powershell module on linux to use with Powershell Core to query the database ?

1100

2

avatar

Alexandre Bélisle

avatar

VirTechSystems

Connection Generator

I'm not sure if this is possible, but I'm looking to generate a lot of connection, group and credential objects from information stored in a database. I've noticed that the file being generated is only XML, but when I write the information I think I need, RDM throws a XML serialization exception (my guess is, I'm doing something wrong). Before I go too much farther, is it possible to use the SDK to generate this information (and hopefully have it generate a file that is usable)? If so, what classes would be a good place to start looking? Thanks

4306

3

avatar

sbstevenbrown08

avatar

sander01

RDM cmdlet - how to set credentials of WebBrowser entry

Hey i have a list of website login with password which i would like to add in bulk to RDM. I tried creating one with the following Powershell commands in RDM cmdlets: $name = "sample" $url = "http://www.sample.com" $email = "myuser@email.com" $username = "myusername" $password = "mypassword" $namewithaccountinfo = $name + " (" + $email + ")" $session = New-RDMSession -Name $namewithaccountinfo -Host $url -Type WebBrowser; Set-RDMSession $session -Refresh; Update-RDMUI; Set-RDMSessionUsername -ID $session.ID $username ; $pass = ConvertTo-SecureString $password -asplaintext -force; Set-RDMSessionPassword -ID $session.ID -Password $pass; Set-RDMSession $session -Refresh; Update-RDMUI; However the credentials part remains empty... How can i set it?

1509

3

avatar

Olivier Desalliers

avatar

simon06

Powertools source

Hello, Is the powertools addon source code available? Many thanks

2028

6

avatar

Hubert Mireault

avatar

r06

Datasource add on session format

I cannot find any documentation about formatting the sessions for the ISessionDataSource.GetConnections method. I realise it uses the same XML format you can see in the connections.xml files but sadly I get very weird results trying to format these connections. For example leaving out or including certain fields in the XML can cause connections to not have any names or data at all. Or leaving out certain fields yields connection data but subsequently does not place them under the group I need them to be under. An example of what I am trying to do: public string formatRDPConnection(string name, string address, string description, string domain, string branch) { Guid id = Guid.NewGuid(); return "<Connection><MetaInformation><Domain>" + domain + "</Domain><IP>" + adres + "</IP></MetaInformation><ConnectionType>RDPConfigured</ConnectionType><Description>" + description + "</Description><Group>" + branch + "</Group><ID>" + id.ToString() + "</ID><Name>" + name + "</Name><Url>" + adres + "</Url></Connection>" } Can anybody help point me to some clear rules on this?

2445

8

avatar

r06

avatar

r06

Corrupted debugging installation

Recently I have started development on a datasource add-on for RDM. While doing so I seem to have corrupted some part of the debug installation. That is the version of RDM I copied from the normal installation to my visual studio project. No matter what I do, and this is includes completely removing the installation and the configurations in the Appdata folder, when I start the application it attempts to load the local data store and consequently crashes. Visual studio reports a stack overflow exception in external code so I can't see what's going on precisely. Does anyone have any idea on how I could repair this installation.

1904

7

avatar

r06

avatar

jacob

How to create a new Credential Provider

There doesn't seem to be any documentation anywhere on how to create a credential provider. Can someone point me in the right direction.

2763

8

avatar

David Hervieux

avatar

chanlerone

Watchguard SSL

Hi, I am working on the Watchguard SSL VPN AddOn. It's a very basic implementation, because of the limited client, but it could be sufficient. However, since the client itself does not have any kind of interface (API/SDK or CLI) I cannot close the session nicely. So when someone has a working VPN session and want to close it by using RDM, I somehow need to terminate the process. When I do that by just say process.Kill() RDM crashes and so does my entire Windows (BSOD). So I tried to Break() before doing the dirty stuff, but then RDM gives me an error telling me that I cannot use breakpoints and crashes... and so does Windows. Any ideas on how to do this nicely?

12457

24

avatar

David Hervieux

avatar

Philip

PowerShell like command for external C# application

Hi, I already use the PowerShell extension from you to open a session in RDM. Using Get-RDMSession and Open-RDMSession is really a fun and improve my work. We also use a small tool to get quick information about user, clients and server, that also allow us to do some actions on those. I would really like to use the functionality of the PowerShell to connect to a server. I know there are command line arguments or even a web protocol handler but all of this require the session id of the server. I don't want to use a quick connect to a fqdn because then I loose the settings of the session, like authentication and so on. I could try to create a PowerShell env within my code and add the snap-in but that would require that every of my co-worker has registered the snap-in. Another way is to read the information directly from the database. I already have tried to add the RemoteDesktopManager.Core.dll as a reference but that also look too much. I hope you can help me with my Problem. Thanks for your time! Regards, Philip

4876

5

avatar

Philip

avatar

llewellyn.dulkeith

Retrieving credentials for Session Tool Addon

Is there a way I can get the credentials for an RDP connection in a session tool addon? I can get the password with session.GetProperty("RDP", "SafePassword") however this is encrypted, is there a way I can decrypt this?

5012

16

avatar

llewellyn.dulkeith

avatar

MOBO

Extend the custom fields functionality

Is it somehow possible to get more than 5 custom fields? I would like to add more fields and chose datatypes for the custom fields. Is this somehow possible or is it possible to create an addon via the sdk?

4642

11

avatar

David Hervieux

avatar

jonyelton

API Calls

I'm looking through the SDK documentation and there appears to be no way to link into RDM. I hope this is possible. I want to be able to launch a session in RDM from our own application, are there API calls for this? Example, session XYZ is in RDM, I add a custom option in our support application that lauches the XYZ session and RDM does exactly as it does now.

11287

17

avatar

David Hervieux

avatar

chanlerone

Example for embedded session?

Hi, I build a new AddOn for Proxy Networks' Proxy Host sessions. Is there an example available how to setup a custom AddOn using the CreateEmbeddedFrame method? Cheers! Sjoerd

5753

6

avatar

billym

avatar

Videep

Java Web Start NOT Compiling

Hello, I am new to C# as I work on vb.net. To learn to develop for RDM, I thought to dwonload a sample. When I downloaded the Java Web Start Sample, and pasted the dll that comes with it, I was able to see the Java Web Start in the Remote Desktop Manager. But, when I opened the csproj file and compiled it myself, and pasted the dll, it was not showing up. Also when I tried to download the notepad addOn, I compiled it and it also did not work. I am using C# 2010 Express. Please let me know how to start developing as I really am in need to develop something to manage my Network. Thanks in Advance, Videep

4432

7

avatar

David Hervieux

avatar

smerchant

Session Management

David, I am not sure if this is possible in the current SDK. But I am trying to write a windows service that will manage the session list in RDM. We have a global server database we use as our central repository. Instead of manually importing (only new items) daily, I would like to have the ability to manage those sessions automatically on a scheduled basis. Here is what I have done so far. I couldn't figure out a way to manage them in the SDK so I created a workaround. I manage those sessions on the fly by updating the back end SQL database and creating/deleting records in your Connections table. Its works great, my issue is that if I edit any of those sessions from RDM, RDM will duplicate the session. I assume I am missing a critical step. Can you help? BTW, if I can get this working, I plan on buying this solution for my entire server team. We manage close to 1k servers in our business unit. My sample XML in the connections table. <?xml version="1.0"?> <Connection> <Cmd /> <ConnectionType>RDPConfigured</ConnectionType> <CreatedBy>YingYang</CreatedBy> <CreationDateTime>2011-03-18T09:03:22.303333-05:00</CreationDateTime> <Events /> <Group>AppName</Group> <GroupTab /> <ID>e11ba7be-f15d-4259-9a29-c3d5c845151e</ID> <MetaInformation /> <Name>MyServer</Name> <OpenEmbedded>true</OpenEmbedded> <RDP /> <Stamp>c997622f-f931-4134-b367-5b59b797f542</Stamp> <Url>MyServer</Url> </Connection> I assume it has something to do with the stamp or id field. I use new guid to create those values.

5551

4

avatar

harshamaitra

avatar

wjansoone

Juniper - Junos Pulse

Hi, Is there a way to create session definitions for Junos Pulse Secure Access Service VPN (I do not see it in the list of available add-ons)? Thanks in advance. Kind regards, Mrs. Wilke Jansoone

9705

9

avatar

André Sanscartier

avatar

chris

How can I use the ISession.GetProperty method ?

Hi, I want using the GetProperty method of the ISession Interface but I don't know which arguments I must pass to this method. What is the Path and PropertyName ? Not documented ? Thank you

3865

2

avatar

David Hervieux

avatar

chris

Problem with Embedded session

Hi, I have some problems with embedded session with a java application. When I close it outside RDM (for example with the close cross of app or kill with task manager) RDM keep it open. After it impossible to start it again. Here is the code on exit event of the process protected void OnExited( object sender, EventArgs e){ Form [] Childs = this .ParentForm.MdiChildren; foreach ( Form Child in Childs) Child.Close(); this .ParentForm.Close(); Process.CloseMainWindow(); Thread .Sleep(1000); this .MainWindowHandle = IntPtr .Zero; this .Process = null ; } Event is correctly called when process exits Any ideas ? Thanks edited by chris on 3/29/2012

3872

4

avatar

David Hervieux

avatar

chanlerone

Use credential repos with custom addon

Hi, I build a new AddOn for Proxy Networks' Proxy Host sessions. Just curious if it is possible to use the saved credentials from the repository using the SDK? Cheers! Sjoerd

5209

5

avatar

chris

avatar

chanlerone

Import does not work

Hi, I think I might do something wrong or maybe found some bug. I am building an import AddOn and when I test this the AddOn Session gets imported, however the session type is not specified in the program. The icon does not match and when I edit the session afterwards it has no session type panel. When I select the correct type and save it, it works. When I match the imported XML with the final XML in the database they are exactly the same. What could this be?

5000

3

avatar

David Hervieux

avatar

chanlerone

Session Name in AddOn

Is it possible for me to get the Session Details when ConnectExternal gets called. At that moment I would like to have the Name of the Session.

4352

2

avatar

David Hervieux

avatar

chanlerone

Bulk edit mode

Hi, I see in the SDK manual that there is SessionAddOnEditMode numerating various types of edit modes. How can I implement bulk edit in my AddOn? Where is this enum used? Regards, Sjoerd

8503

21

avatar

chanlerone

avatar

chanlerone

Application Tool

Just got an error message when trying to open the Proxy Application Tool AddOn. This is the error when clicking on the tool: 5.9.0.12 Beta InvalidOperationException - Process has exited, so the requested information is not available. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.get_MainWindowHandle() at RemoteDesktopManager.AddOn.ProxyAddOn.ProxyApplicationToolAddOn.Execute() at Devolutions.RemoteDesktopManager.Managers.ApplicationToolAddOn.Execute() at Devolutions.RemoteDesktopManager.Managers.ApplicationToolManager.OnMenuOnClick(Object sender, EventArgs args) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Any ideas?

4540

3

avatar

chanlerone

1 - 25 of 40 items