I have pushed user email address using airwatch activeasync custom settings. and now it successfully pushed and checked in registry.
registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Provisioning\Diagnostics\ConfigManager\ActiveSync
now i want to get this emailAddress using c#, so after search i find a way this link.
https://learn.microsoft.com/en-us/windows/win32/dmwmibridgeprov/mdm-activesync-user-accounts01-01
how to use this way in c#. I am newbie in c#.