Posts by lucas miguel • 46 points
2 posts
-
1
votes4
answers3163
viewsA: How to get the computer name?
To get the name of the machine use Environment.MachineName: class Sample { public static void Main() { Console.WriteLine("Nome: {0}", Environment.MachineName); } } Link:…
c#answered lucas miguel 46 -
2
votes1
answer45
viewsA: WCF as Windows Service
Missing to make the reference , if using visual Studio , in the area of the explorer Solution has the references right-click > add Reference > assemblies and add the system.servicemodel.web…