File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public static bool UnforceVBoxDriver(string originalInstanceId)
106
106
}
107
107
108
108
BOOL reboot = false ;
109
- unsafe
109
+ unsafe // DevSkim: ignore DS172412
110
110
{
111
111
// First, we must set a NULL driver, just in case no default driver exists.
112
112
using var deviceInfoSet = PInvoke . SetupDiCreateDeviceInfoList ( null , default ) ;
@@ -132,7 +132,7 @@ public static bool UnforceVBoxDriver(string originalInstanceId)
132
132
// 200 ms seems to work, so delay for 500 ms for good measure...
133
133
Thread . Sleep ( TimeSpan . FromMilliseconds ( 500 ) ) ;
134
134
135
- unsafe
135
+ unsafe // DevSkim: ignore DS172412
136
136
{
137
137
// Now we let Windows install the default PnP driver.
138
138
// We don't fail if no such driver can be found.
You can’t perform that action at this time.
0 commit comments