update files
This commit is contained in:
parent
5cc79073f9
commit
d01f09dead
3 changed files with 217 additions and 93 deletions
|
|
@ -148,4 +148,21 @@ set { Marshal.ThrowExceptionForHR(Vol().SetMute(value, System.Guid.Empty)); }
|
|||
"@
|
||||
|
||||
[Audio]::Volume = 0.50
|
||||
[Audio]::Mute = $true
|
||||
[Audio]::Mute = $true
|
||||
|
||||
### IWR 5.1 -SkipCertificateCheck
|
||||
|
||||
add-type @"
|
||||
using System.Net;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
public class TrustAllCertsPolicy : ICertificatePolicy {
|
||||
public bool CheckValidationResult(
|
||||
ServicePoint srvPoint, X509Certificate certificate,
|
||||
WebRequest request, int certificateProblem) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
"@
|
||||
$AllProtocols = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'
|
||||
[System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols
|
||||
[System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
|
||||
Loading…
Add table
Add a link
Reference in a new issue