Loq.Native 0.1.64

dotnet add package Loq.Native --version 0.1.64
                    
NuGet\Install-Package Loq.Native -Version 0.1.64
                    
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="Loq.Native" Version="0.1.64" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Loq.Native" Version="0.1.64" />
                    
Directory.Packages.props
<PackageReference Include="Loq.Native" />
                    
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 Loq.Native --version 0.1.64
                    
#r "nuget: Loq.Native, 0.1.64"
                    
#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 Loq.Native@0.1.64
                    
#: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=Loq.Native&version=0.1.64
                    
Install as a Cake Addin
#tool nuget:?package=Loq.Native&version=0.1.64
                    
Install as a Cake Tool

Loq.Native

Low-level P/Invoke bindings + native binaries for loq, a cross-platform reimplementation of Microsoft Log Parser 2.2.

You probably don't want this package directly

Most consumers should install one of the higher-level wrappers, which both depend on this package:

  • Loq.Classic — drop-in replacement for the MS Log Parser 2.2 MSUtil.LogQuery COM API. Use this if you're porting existing LP22 / VBScript / classic ASP code to .NET.
  • Loq — modern .NET API with strongly-typed results, IEnumerable<T>, and DataTable support. Use this for new .NET code.

Loq.Native is published separately so the heavyweight native binaries (~10 MB Windows DLL, ~10 MB Linux .so) are only downloaded once even if both higher-level packages are referenced.

What's in the box

  • Loq.Native.dll — managed P/Invoke wrapper around the native library.
  • runtimes/win-x64/native/loq.dll — Windows x64 native engine.
  • runtimes/linux-x64/native/libloq.so — Linux x64 native engine.

.NET resolves the right native binary per-RID automatically when you add the package to a RuntimeIdentifiers-aware project.

Direct usage

If you really do need the raw FFI surface (you've ruled out Loq.Classic and Loq):

using Loq.Native;

var ptr = NativeMethods.ExecuteJson("SELECT COUNT(*) FROM data.csv");
var json = NativeString.FromNative(ptr);
// parse json yourself

The full FFI surface is documented at the loq C/FFI reference.

Source / issues

License

MIT.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Loq.Native:

Package Downloads
Loq

Modern .NET API for loq, a cross-platform reimplementation of MS Log Parser 2.2 in Rust. Strongly-typed LINQ-style results, DataTable conversion, bulk JSON transfer for high performance.

Loq.Classic

Drop-in .NET replacement for the MS Log Parser 2.2 MSUtil.LogQuery COM interface. Cross-platform (Windows, Linux), backed by a Rust reimplementation of the LP22 query engine.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.64 77 6/1/2026
0.1.63 148 5/8/2026
0.1.62 129 5/5/2026
0.1.61 125 5/5/2026
0.1.60 129 5/5/2026
0.1.59 128 5/4/2026
0.1.58 133 5/4/2026
0.1.57 133 5/4/2026
0.1.56 124 5/4/2026
0.1.55 141 5/4/2026
0.1.54 126 5/4/2026
0.1.53 130 5/4/2026
0.1.52 129 5/4/2026
0.1.51 131 5/2/2026
0.1.50 132 5/2/2026
0.1.49 128 5/2/2026
0.1.48 122 5/2/2026
0.1.47 134 5/2/2026
0.1.46 137 5/1/2026
0.1.45 124 5/1/2026
Loading failed