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)
106106 }
107107
108108 BOOL reboot = false ;
109- unsafe
109+ unsafe // DevSkim: ignore DS172412
110110 {
111111 // First, we must set a NULL driver, just in case no default driver exists.
112112 using var deviceInfoSet = PInvoke . SetupDiCreateDeviceInfoList ( null , default ) ;
@@ -132,7 +132,7 @@ public static bool UnforceVBoxDriver(string originalInstanceId)
132132 // 200 ms seems to work, so delay for 500 ms for good measure...
133133 Thread . Sleep ( TimeSpan . FromMilliseconds ( 500 ) ) ;
134134
135- unsafe
135+ unsafe // DevSkim: ignore DS172412
136136 {
137137 // Now we let Windows install the default PnP driver.
138138 // We don't fail if no such driver can be found.
You can’t perform that action at this time.
0 commit comments