Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Константы для получения информации с помощью функции метода GrdGetInfo. Информация о текущем сетевом ключе.

...

Пространство имен:    Guardant

Синтаксис

Code Block
languagec#
public class GrdGIR : GrdInfo

Константы

 

 GrdGIR содержит следующие имена и значения.

...

ИмяЗначениеОписание
VerSrv

0x5000

Версия и номер билда сервера Guardant Net server.
LocalIP0x5001Локальный IP-адрес сервера Guardant Net локальный IP Адрес.
LocalPort0x5002Локальный IP-порт сервера Guardant Net локальный  IP порт.
LocalNB0x5003Локальное NetBIOS-имя сервера Guardant Net локальное имя NetBIOS.

RemoteIP

0x5004Удаленный IP-адрес сервера Guardant Net удаленный IP адрес.

RemotePort

0x5005Удаленный IP-порт сервера Guardant Net удаленный IP порт.

RemoteNB

0x5006Удаленное NetBIOS-имя сервера Guardant Net удаленное имя NetBIOS

HeartBeatThread

0x5007Handle of internal heartbeat thread
.
IniTimeOutSend0x5008Send operation timeout in seconds. Requires the API to be started up with GrdFMR_Remote flag.Таймаут на отправку пакетов (из файла настроек сетевого клиента).
IniTimeOutReceive0x5009Receive operation timeout in seconds. Requires the API to be started up with GrdFMR_Remote flagТаймаут на приём пакетов (из файла настроек сетевого клиента).
IniTimeOutSearch0x500ABroadcasting search timeout in seconds. Requires the API to be started up with GrdFMR_Remote flag.Таймаут на широковещательный поиск (из файла настроек сетевого клиента).
IniClientUDPPort0x500BClient's UDP port for sending of datagrams to a server. Requires the API to be started up with GrdFMR_Remote flag.UDP-порт клиента (поле устарело, всегда возвращается основной порт подключения к серверу).
IniServerUDPPort0x500CServer's UDP port for sending of replies to a client. Requires the API to be started up with GrdFMR_Remote flag.UDP-порт сервера (поле устарело, всегда возвращается основной порт подключения к серверу).
IniBroadcastAddress0x500DBroadcasting address . Requires the API to be started up with GrdFMR_Remote flag.Широковещательный адрес сервера (из файла настроек сетевого клиента).
IniFileName0x500EInitialization file name. Requires the API to be started up with GrdFMR_Remote flag.Полный путь к файлу настроек сетевого клиента.
LocalMACAddress0x500FMAC address of the local network adapter. Requires the API to be started up with GrdFMR_Remote flag.адрес сетевого адаптера.
FullHostName0x5010Full name of the local host. Requires the API to be started up with GrdFMR_Remote flag.Полное имя локального компьютера
IniServerIPName0x5011Server IP address or host name. Requires the API to be started up with GrdFMR_Remote flag.Имя сервера или его IP адрес.

 

См. метод: GrdGetInfo