VOOZH about

URL: https://www.nuget.org/packages/Dax.Vpax.Obfuscator/

⇱ NuGet Gallery | Dax.Vpax.Obfuscator 1.2.1




👁 Image
Dax.Vpax.Obfuscator 1.2.1

dotnet add package Dax.Vpax.Obfuscator --version 1.2.1
 
 
NuGet\Install-Package Dax.Vpax.Obfuscator -Version 1.2.1
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dax.Vpax.Obfuscator" Version="1.2.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Dax.Vpax.Obfuscator" Version="1.2.1" />
 
Directory.Packages.props
<PackageReference Include="Dax.Vpax.Obfuscator" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Dax.Vpax.Obfuscator --version 1.2.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Dax.Vpax.Obfuscator, 1.2.1"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Dax.Vpax.Obfuscator@1.2.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Dax.Vpax.Obfuscator&version=1.2.1
 
Install as a Cake Addin
#tool nuget:?package=Dax.Vpax.Obfuscator&version=1.2.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

VertiPaq-Analyzer Obfuscator

VertiPaq Analyzer Obfuscator is a .NET library that enables the obfuscation of VertiPaq Analyzer files.

You can read more here.

Installation

The library is available on NuGet. Just search for Dax.Vpax.Obfuscator in the Package Manager GUI or run the following command in the .NET CLI:

dotnet add package Dax.Vpax.Obfuscator

Usage

The library can be used in any .NET application built with net462, netcoreapp3.1, net5.0 or later.

Obfuscation

using var vpax = new MemoryStream(File.ReadAllBytes(@"C:\path\to\unobfuscated.vpax"));
var obfuscator = new VpaxObfuscator();
var dictionary = obfuscator.Obfuscate(vpax);

dictionary.WriteTo(@"C:\path\to\dictionary.dict");
File.WriteAllBytes(@"C:\path\to\obfuscated.ovpax", vpax.ToArray());

Deobfuscation

using var vpax = new MemoryStream(File.ReadAllBytes(@"C:\path\to\obfuscated.ovpax"));
var dictionary = ObfuscationDictionary.ReadFrom(@"C:\path\to\dictionary.dict");
var obfuscator = new VpaxObfuscator();
obfuscator.Deobfuscate(vpax, dictionary);

File.WriteAllBytes(@"C:\path\to\deobfuscated.vpax", vpax.ToArray());

Incremental Obfuscation

Incremental obfuscation keeps the same obfuscated names across different VPAX versions of the same model.

using var vpax = new MemoryStream(File.ReadAllBytes(@"C:\path\to\unobfuscated-v2.vpax"));
var dictionaryV1 = ObfuscationDictionary.ReadFrom(@"C:\path\to\dictionary-v1.dict");
var obfuscator = new VpaxObfuscator();
var dictionary = obfuscator.Obfuscate(vpax, dictionaryV1);

dictionary.WriteTo(@"C:\path\to\dictionary-v2.dict");
File.WriteAllBytes(@"C:\path\to\obfuscated-v2.ovpax", vpax.ToArray());

CLI

A command-line interface is also available for the obfuscator. The CLI is available as a standalone executable, which can be downloaded from the releases page.

C:\> vpax-obfuscator.exe [command] [options]

For usage and help content for any command, pass in the -h parameter, for example:

C:\> vpax-obfuscator.exe obfuscate -h

Description:
 Obfuscate the DaxModel.json file and delete all other contents from a VPAX file.

Usage:
 vpax-obfuscator obfuscate [options]

Options:
 --vpax <vpax> (REQUIRED) Path to the unobfuscated VPAX file.
 --dictionary <dictionary> Path to the dictionary file to be used for incremental obfuscation. If not provided, a new dictionary will be created.
 --output-vpax <output-vpax> Path to write the obfuscated VPAX file. If not provided, the file will be written to the same folder as the '--vpax' file, using the default file extension for obfuscated VPAX files, which is '.ovpax'.
 --output-dictionary <output-dictionary> Path to write the obfuscation dictionary file. If not provided, the file will be written to the same folder as the '--vpax' file, using the default file extension for obfuscation dictionary files, which is '.dict'.
 --track-unobfuscated Specifies whether to include unobfuscated values in the output dictionary.
 --allow-overwrite Allow output files to be overwritten. If not provided, the command will fail if an output file already exists.
 -?, -h, --help Show help and usage information
Product Versions Compatible and additional computed target framework versions.
.NET net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Framework net472 net472 is compatible.  net48 net48 was computed.  net481 net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Dax.Vpax.Obfuscator:

Repository Stars
DaxStudio/DaxStudio
DAX Studio is a tool to write, execute, and analyze DAX queries in Power BI Desktop, Power Pivot for Excel, and Analysis Services Tabular.
Version Downloads Last Updated
1.2.1 2,179 9/17/2025
1.1.3 2,664 11/12/2024
1.1.1 527 10/20/2024
1.0.11 477 9/17/2024
1.0.5 1,822 4/1/2024
1.0.2 330 3/18/2024
1.0.1 257 3/15/2024
0.6.5-beta 175 3/15/2024
0.6.4-beta 231 3/14/2024
0.6.2-beta 274 3/14/2024
0.5.1-beta 211 3/10/2024
0.4.2-beta 191 3/5/2024
0.4.1-beta 202 3/4/2024
0.3.4-beta 220 3/2/2024
0.3.3-beta 297 2/23/2024
0.2.2-beta 201 2/22/2024
0.2.1-beta 189 2/16/2024
0.1.3-beta 216 2/13/2024
0.1.1-beta 195 2/13/2024