IDeviceWebSession
Interface in Oadm.Sdk.Client · Oadm.Sdk.Client.dll
One relay for one device; dispose it when its browser tab closes or shows another device.
public interface IDeviceWebSession : IDisposableExtends IDisposable
Properties
Section titled “Properties”DeviceId
Section titled “DeviceId”Guid DeviceId { get; }The device this session shows.
Origin
Section titled “Origin”Uri Origin { get; }The relay’s origin, “http://127.0.0.1:51234/”. Requests without the session cookie are refused.
Methods
Section titled “Methods”StartAddress
Section titled “StartAddress”Uri StartAddress(string path)The first address to open in the browser for path (“/”, “/local/objectanalytics/index.html#/”): it hands the browser the session cookie once, then redirects to the path. Later navigations use IDeviceWebSession.Origin.