c# - Registry.LocalMachine.OpenSubKey(regPath); returns NULL in .NET 3.5 Environment -


i trying access registry using following command:

string regpath = "software\\bentley\\autopipe\\v8i ribbon , reporting";  registrykey ribbonkey = registry.localmachine.opensubkey(regpath); 

i have tried different methods i.e. this one , this faced same error:

object reference not set instance of object.

it return me null in ribbonkey key exists in registry. have searched on topic , found many solutions this not me because using .net 3.5.

any highly appreciated.

what system running? have tried little solution?

opensubkey() returns null registry key can see in regedit.exe


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -