.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have a C#.Net core 3.1 console application which supports on Linux server.
I have created log file folder path by using Environment.GetFolderPath(Environment.SpecialFolder.MyComputer) path.
In Redhat, the folder path created on my computer.
But in CENTOS the folder path created on "/home/User/"
I need to create folder path in Redhat "/home/User/" through root user.
Please help me on this issue.
MyComputer is not typically defined cross platform. There is a mapping to an environment variable for different distributions
Red hat.