Loq.Native
0.1.68
See the version list below for details.
dotnet add package Loq.Native --version 0.1.68
NuGet\Install-Package Loq.Native -Version 0.1.68
<PackageReference Include="Loq.Native" Version="0.1.68" />
<PackageVersion Include="Loq.Native" Version="0.1.68" />
<PackageReference Include="Loq.Native" />
paket add Loq.Native --version 0.1.68
#r "nuget: Loq.Native, 0.1.68"
#:package Loq.Native@0.1.68
#addin nuget:?package=Loq.Native&version=0.1.68
#tool nuget:?package=Loq.Native&version=0.1.68
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.79 | 219 | 8/5/2026 |
| 0.1.78 | 207 | 8/4/2026 |
| 0.1.77 | 207 | 7/26/2026 |
| 0.1.76 | 217 | 7/23/2026 |
| 0.1.75 | 225 | 7/8/2026 |
| 0.1.74 | 227 | 7/8/2026 |
| 0.1.73 | 193 | 6/24/2026 |
| 0.1.72 | 187 | 6/24/2026 |
| 0.1.71 | 227 | 6/13/2026 |
| 0.1.70 | 215 | 6/12/2026 |
| 0.1.69 | 206 | 6/11/2026 |
| 0.1.68 | 162 | 6/10/2026 |
| 0.1.67 | 164 | 6/10/2026 |
| 0.1.66 | 161 | 6/9/2026 |
| 0.1.65 | 162 | 6/9/2026 |
| 0.1.64 | 179 | 6/1/2026 |
| 0.1.63 | 187 | 5/8/2026 |
| 0.1.62 | 158 | 5/5/2026 |
| 0.1.61 | 164 | 5/5/2026 |
| 0.1.60 | 163 | 5/5/2026 |