![]() Although the registry location does not look nice (I mean service parameters have to reside below HKLM, but who cares), I tried the HKEY_USER.Default location and the service was able to load the values from the registry. The service was unable to access Software\tftpUtilSvc. I started with using the registry, but that did not work first. Resend, iTimeout, LoggingMethodInfo, BlockedIPs, ServerIPAddr) ĪddLog( " CreateTFTPFromReg everything seems to be OK") ĪddLog( " CreateTFTPFromReg EXCEPTION:" ex.Message) Īs I would like to control the service later and change settings, I needed a way to ‘communicate’ with the server. Resend, iTimeout, LoggingMethodInfo, BlockedIPs) Tftp = new TFTPServer(ServerUDPPort, Path, LoggingLevel,ĭisplayLevel, FileAccess, AllowOptions, RRQWRQStateCheck, LoggingMethodInfo = svcSettings.LoggingOptions ĪddLog( " CreateTFTPFromReg reading BlockedIPs") ĪddLog( " CreateTFTPFromReg starting new TFTPServer(.)") LoggingMethodInfo = svcSettings.LoggingMethod Resend = Convert.ToInt32(svcSettings.Resend) ĪddLog( " CreateTFTPFromReg reading LoggingMethodInfo") ITimeout = Convert.ToInt32(svcSettings.Timeout) ![]() ![]() (IPstring, out ServerIPAddr) ĪddLog( " CreateTFTPFromReg reading ServerUDPPort") String IPstring = svcSettings.ServerIPAddr ![]() RRQWRQStateCheck = svcSettings.RRQWRQStateCheck ĪddLog( " CreateTFTPFromReg reading IPstring") AddLog( " CreateTFTPFromReg reading path") ĭisplayLevel = svcSettings.SendEventLevel
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |