Index: TECH/Context/RuntimeContext.cls.xml =================================================================== diff -u -r2875 -r2878 --- TECH/Context/RuntimeContext.cls.xml (.../RuntimeContext.cls.xml) (revision 2875) +++ TECH/Context/RuntimeContext.cls.xml (.../RuntimeContext.cls.xml) (revision 2878) @@ -217,43 +217,6 @@ ]]> - -IP:%String -%String - c:\"_FileName // ping vervangen door nslookup - Set Ok=$ZF(-1,"NSLOOKUP "_IP_" > c:\"_FileName) - - Set Stream=##class(%FileCharacterStream).%New() - Set Stream.Filename="c:\"_FileName - - Do Stream.ReadLine() - Do Stream.ReadLine() - Do Stream.ReadLine() - Set ComputerNaamOutput = Stream.ReadLine() - - Set PiecesIterator = ##class(TECH.PiecesIterator).%New(ComputerNaamOutput," ") - While (PiecesIterator.HasNext()) - { - Set ComputerNaam = PiecesIterator.Next() - } - - Set Stream = "" - - Do ##class(%File).Delete("c:\"_FileName) - - Set:("" = ComputerNaam) ComputerNaam = ##class(TECH.Process).GeefClientHostName() - } - - if $zcvt(ComputerNaam,"U")="LOCALHOST" set ComputerNaam=$$$Server_".vanhoecke.be" - Quit ComputerNaam -]]> - - %String