using System.ServiceModel; namespace TGServiceInterface.Components { /// /// Metadata for a server instance /// [ServiceContract] public interface ITGInstance { /// /// Return the directory of the server on the host machine /// /// The path to the directory on success, null on failure [OperationContract] string ServerDirectory(); /// /// Retrieve's the service's version /// /// The service's version [OperationContract] string Version(); } }