Options

RTC Machine Identification

AntHillMobAntHillMob Member Posts: 79
edited 2011-02-28 in NAV Three Tier
I've been working on some integration between Nav and some enternal hardware that connects to particular individual machines. I basically have this working but I need to identify the PC within NAV to know if the logic is applicable. In the classic client I can use ENVIRON to retrieve the machine name, but not the RTC. Does any one have any ideas on how to uniquely identify a pc within the three tier environment?

Answers

  • Options
    ara3nara3n Member Posts: 9,255
    you can use windows script host object and instantiate it on the client and retrieve the necessary OS variables.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    jreynoldsjreynolds Member Posts: 175
    You could use .NET Interoperability and the MachineName property of the Environment class.
  • Options
    AntHillMobAntHillMob Member Posts: 79
    The windows script host works perfectly. Many thanks for pointing me in the right direction.
Sign In or Register to comment.