/// <summary> /// Resolve the local binding string for this service from the local Endpoint Mapper and return the ALPC port path. /// </summary> /// <param name="server_interface">The server interface.</param> /// <returns>The mapped endpoint.</returns> /// <remarks>This only will return a valid value if the service is running and registered with the Endpoint Mapper. It can also hang.</remarks> public static RpcEndpoint MapServerToAlpcEndpoint(NdrRpcServerInterface server_interface) { return(MapServerToAlpcEndpoint(server_interface.InterfaceId, server_interface.InterfaceVersion)); }
/// <summary> /// Query for endpoints registered on the local system for an RPC endpoint via ALPC. /// </summary> /// <param name="server_interface">The server interface.</param> /// <returns>The list of registered RPC endpoints.</returns> public static IEnumerable <RpcEndpoint> QueryAlpcEndpoints(NdrRpcServerInterface server_interface) { return(QueryAlpcEndpoints(server_interface.InterfaceId, server_interface.InterfaceVersion)); }
/// <summary> /// Resolve the local binding string for this service from the local Endpoint Mapper. /// </summary> /// <param name="server_interface">The server interface.</param> /// <remarks>This only will return a valid value if the service is running and registered with the Endpoint Mapper. It can also hang.</remarks> /// <returns>The RPC binding string. Empty string if it doesn't exist or the lookup failed.</returns> public static string MapServerToBindingString(NdrRpcServerInterface server_interface) { return(MapServerToBindingString(server_interface.InterfaceId, server_interface.InterfaceVersion)); }