How i can obtain the data of the active viewer via C#.

Exemplo: Serial # and OS version.

Thanks,

JF