-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add information about PCSC service testing
- Loading branch information
1 parent
e71059e
commit ff04953
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Developers Guide | ||
|
||
Welcome to the Developers Guide for this project. This document provides essential information and instructions for developers working on the project. It includes guidelines for setting up the development environment, managing dependencies, running tests, and other important tasks. | ||
|
||
## Managing PCSC Service on Windows | ||
|
||
For testing various states of the PCSC (Smart Card) service on Windows, you may need to start, stop, and change the startup type of the service. Below are the commands to manage the PCSC service. | ||
|
||
**Note:** Ensure you open the terminal with administrative privileges to execute these commands. | ||
|
||
### Disable and Stop the PCSC Service | ||
|
||
To disable and stop the PCSC service, run the following commands in PowerShell with administrative privileges: | ||
|
||
```powershell | ||
# Disable the PCSC service | ||
Set-Service -Name "SCardSvr" -StartupType Disabled | ||
# Stop the PCSC service | ||
Stop-Service -Name "SCardSvr" | ||
``` | ||
|
||
### Enable and Start the PCSC Service | ||
|
||
To enable and start the PCSC service, run the following commands in PowerShell with administrative privileges: | ||
|
||
```powershell | ||
# Set the PCSC service to start automatically | ||
Set-Service -Name "SCardSvr" -StartupType Automatic | ||
# Start the PCSC service | ||
Start-Service -Name "SCardSvr" | ||
``` | ||
|
||
### Check the Status of the PCSC Service | ||
|
||
To check the current status of the PCSC service, run the following command in PowerShell: | ||
|
||
```powershell | ||
Get-Service -Name "SCardSvr" | ||
``` | ||
|
||
This command will display the current status of the service, including whether it is running, stopped, and its startup type. |