/// <summary>
 /// Creates a new stream to the device and initializes the specified service.
 /// </summary>
 /// <param name="service">The service to initialize.</param>
 /// <param name="serviceParameters">Optional initialization parameters for the service.</param>
 /// <returns>The newly created stream.</returns>
 public DeviceStream CreateStream(StreamService service, string serviceParameters = null)
 {
     return(DeviceStream.Create(this, service, serviceParameters));
 }
 /// <summary>
 /// Creates a new stream to the device and initializes the specified service.
 /// </summary>
 /// <param name="serviceConfiguration">The service to initialize and any configuration parameters needed during initialization.</param>
 /// <returns>The newly created stream.</returns>
 public DeviceStream CreateStream(string serviceConfiguration)
 {
     return(DeviceStream.Create(this, serviceConfiguration));
 }
 /// <summary>
 /// Creates a new stream to the device.
 /// </summary>
 /// <returns>The newly created stream.</returns>
 public DeviceStream CreateStream()
 {
     return(DeviceStream.Create(this));
 }