Exemplo n.º 1
0
 /// <summary>
 /// Start forwarding a service port on the companion device to a port on the idevice.
 /// </summary>
 /// <param name="client">
 /// The companion_proxy client
 /// </param>
 /// <param name="remote_port">
 /// remote port
 /// </param>
 /// <param name="service_name">
 /// The name of the service that shall be forwarded
 /// </param>
 /// <param name="forward_port">
 /// Pointer that will receive the newly-assigned port accessible via USB/Network on the idevice
 /// </param>
 /// <param name="options">
 /// PLIST_DICT with additional options. Currently known are
 /// IsServiceLowPriority (boolean) and PreferWifi (boolean).
 /// </param>
 /// <returns>
 /// COMPANION_PROXY_E_SUCCESS on success,
 /// or a COMPANION_PROXY_E_* error code otherwise.
 /// </returns>
 public virtual CompanionProxyError companion_proxy_start_forwarding_service_port(CompanionProxyClientHandle client, ushort remotePort, string serviceName, ref ushort forwardPort, PlistHandle options)
 {
     return(CompanionProxyNativeMethods.companion_proxy_start_forwarding_service_port(client, remotePort, serviceName, ref forwardPort, options));
 }