Loq.Native
0.1.64
dotnet add package Loq.Native --version 0.1.64
NuGet\Install-Package Loq.Native -Version 0.1.64
<PackageReference Include="Loq.Native" Version="0.1.64" />
<PackageVersion Include="Loq.Native" Version="0.1.64" />
<PackageReference Include="Loq.Native" />
paket add Loq.Native --version 0.1.64
#r "nuget: Loq.Native, 0.1.64"
#:package Loq.Native@0.1.64
#addin nuget:?package=Loq.Native&version=0.1.64
#tool nuget:?package=Loq.Native&version=0.1.64
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.2MSUtil.LogQueryCOM 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>, andDataTablesupport. 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
- Source: https://github.com/chaynes81-ux/loq
- Releases & docs: https://chaynes81-ux.github.io/loq-releases/
- Issues: file at the GitHub repo above.
License
MIT.
| Product | Versions 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. |
-
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 |