ServiceHost host=new ServiceHost (typeof (TCPServiceLibrary Service1));
If (the host State!=CommunicationState database.opening)
{
The host. The Open ();
TextBox1. Text=TextBox1. Text. Insert (0, DateTime. Now. The ToString () + ": the service is started \ r \ n");
}
App. Config
How to add state to set the address????? Thank you
CodePudding user response:
Problem solving,//localhost downstairs pick up points ohCodePudding user response:
CodePudding user response: