UnblockZoneIdentifier 1.0.0
dotnet add package UnblockZoneIdentifier --version 1.0.0
NuGet\Install-Package UnblockZoneIdentifier -Version 1.0.0
<PackageReference Include="UnblockZoneIdentifier" Version="1.0.0" />
paket add UnblockZoneIdentifier --version 1.0.0
#r "nuget: UnblockZoneIdentifier, 1.0.0"
// Install UnblockZoneIdentifier as a Cake Addin #addin nuget:?package=UnblockZoneIdentifier&version=1.0.0 // Install UnblockZoneIdentifier as a Cake Tool #tool nuget:?package=UnblockZoneIdentifier&version=1.0.0
UnblockZoneIdentifier
A lightweight NuGet package designed to effortlessly remove ZoneIdentifier marks from files downloaded from the internet.
Internet Explorer introduced Attachment Services in Windows XP Service Pack 2. Attachment Services is a set of COM objects that email clients and browsers can use when saving and opening files downloaded from other computers. When savving the files, the client uses IAttachmentExecute.SetSource to specify the URL the file was retrieved from. This stores the URLs (Internet Explorer) internet zone in an NTFS alternate data stream, which is checked when the file is about to be opened. If this is set to an internet zone, you are prompted before the file is opened.
This is nice, and everything, except .net also uses this flag when deciding on trust levels, which can make life awkward for downloading plugins that suddenly don't work.
Usage
using UnblockZoneIdentifier;
if (ZoneIdentifierManager.IsZoneBlocked("path/to/file")) // Check Zone.Identifier Internet
{
ZoneIdentifierManager.UnblockZone("path/to/file"); // Change Zone.Identifier Internet to LocalMachine
ZoneIdentifierManager.RemoveZone("path/to/file"); // Remove Zone.Identifier file
}
Thanks
https://github.com/citizenmatt/UnblockZoneIdentifier
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net20 is compatible. net35 is compatible. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 is compatible. net46 was computed. net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5.2
- No dependencies.
-
.NETFramework 4.6.2
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
.NETFramework 4.8.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 74 | 12/13/2024 |