/// <summary> /// Gets the configured name of this node. /// </summary> /// <returns>The name of this node</returns> public async Task <string> GetNodeIdentifierAsync() { NodeIdentifierResponseData response = await ExecuteAtQueryAsync <NodeIdentifierResponseData>(new NodeIdentifierCommand()); return(response.Id); }
/// <summary> /// Gets the configured name of this node. /// </summary> /// <returns>The name of this node</returns> public async Task <string> GetNodeIdentifierAsync() { NodeIdentifierResponseData response = await ExecuteAtQueryAsync <NodeIdentifierResponseData>(new NodeIdentifierCommand()); var id = response.Id; return(id?.Replace("/0", string.Empty)); }