G
Guest
Hi
We can use Environment class to read %Temp% variable o local machine. But I want to read this variable for currently logged on used for remote machine. Is there anyway to do this using .NET? I know I can read remote registry and I can read Environment subkey, for key, current user but that value contains %UserProfile% which in turn contains %System Drive%. Is there anyway to avoid reading so many registry keys and get it the way Environment class works
Thanks
Vinay
We can use Environment class to read %Temp% variable o local machine. But I want to read this variable for currently logged on used for remote machine. Is there anyway to do this using .NET? I know I can read remote registry and I can read Environment subkey, for key, current user but that value contains %UserProfile% which in turn contains %System Drive%. Is there anyway to avoid reading so many registry keys and get it the way Environment class works
Thanks
Vinay