I have created a system tray application. From there I'm trying to get this path:
"C:\Users<username>\AppData\Local"
But instead I'm getting this path:
"C:\Users\Default\AppData\Local"
I'm using this code:
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData
I have tried creating other applications and there it is working but only in system tray it is giving me default user.