Skip to content

andyjmorgan/HorizonVirtualChannelExample

Repository files navigation

VMware Horizon Virtual Channel Example

This repository demo's, simply, how to create a Virtual Channel for VMware Horizon in C# and send data back and forth from the Client and Agent.

In this example, a client (running on the users device) opens a Virtual Channel to an Agent (running in the virtual desktop or application session) and synchronises the volume from the Virtual Session, to the local device, to make it easier to manage the volume.

Agent:

Client:

This example could be easily expanded to do pretty much whatever you like.

Whats Included:

  1. A Client executable to run on the local device (Windows only).
  2. An Agent executable to launch inside the users virtual session.

How to use it:

Download the binaries from here:

https://github.com/andyjmorgan/HorizonVirtualChannelExample/tree/main/Publish

  1. Start the Client on a Windows Device, before launching a virtual session.
  2. Once the client has been started, Launch a VMware Horizon virtual desktop session.
  3. Once inside a VMware Horizon virtual desktop session, launch the agent.

Adjust the volume in the virtual session, or mute the audio. You'll notice this will be synchronised to the local device.
To view the messages flying back and forth, double click the pipes icon in the system tray.

Example:

About

A client and agent example of how to register and use a virtual channel with VMware Horizon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages