dir.by  
  Поиск  
Компьютер, программы
Windows Service (using C#)
 Create folder "My Application" under folder "Application and Services logs" | Event Viewer 
посмотрели 3563 раз
обновлено: 17 April 2023
Step 1. Let's check which folders are in Event Viewer
Step 2. Open PawerShell as an administrator and run the command to create a folder My Application
New-EventLog -LogName "My Application" -Source "App1" -EA SilentlyContinue
Step 3. Close Event Viewer and run Event Viewer again
Let's see that the folder My Application has been created.
Note!
To delete the My Application folder, call the command:
Remove-EventLog -LogName "My Application" -EA SilentlyContinue
 
← Previous topic
C# Windows Service (.NET Framework) with the username. Event when user logs in/out of Windows
 
Next topic →
Create a new application C# Windows Service (library .NET Core and use Worker)
 
Your feedback ... Comments ...
   
Your Name
Your comment (www links can only be added by a logged-in user)

Экскурсии по Москве Экскурсии по Москве: пешеходные, автобусные и речные прогулки на любой вкус
Анонс! Ярмарка вакансий для молодежи, работа (учащихся, которые хотели бы подработать в свободное время, а также выпускники)|||Минск, Витебск, Гомель, Гродно, Могилев, Борисов, Полоцк, Брест, Барановичи, Пинск с 13 по 17 апреля 2026
  Объявления  
  Объявления  
 
Technology .NET Framework
Create a new application C# Windows Service (.NET Framework)
C# Windows Service (.NET Framework) with the username. Event when user logs in/out of Windows
Create folder "My Application" under folder "Application and Services logs" | Event Viewer
Technology .NET Core
Create a new application C# Windows Service (library .NET Core and use Worker)
Loading parameters from appsettings.json for application C# Windows Service (library .NET Core and using Worker)
How to open a Notepad app from C# Windows Service | library .NET Core and use Worker
Doing publish a project (compiling and assembling a project) "C# Windows Service" | library .NET Core using Worker
How to register your exe file as Windows Service. Start/stop your Windows Service on the system Windows | library .NET Core using Worker

  Ваши вопросы присылайте по почте: info@dir.by  
Яндекс.Метрика