How can I get information on behalf of computers and set this location on a line.
Example *
string contents = File.ReadAllText(@"C:\Users\" + Settings.Default.User + "\\Documents\\My vs\\juice.txt");
The problem is that I cannot use the Setting.Default.User location because this name is constantly changing.
I need this section to be some kind of variable that means the name of the computer ... I donโt want to just write code on my computer, because if I put it on other computers, then obviously the name will change
source
share