WhatsDotLib 1.0.9
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
dotnet add package WhatsDotLib --version 1.0.9
NuGet\Install-Package WhatsDotLib -Version 1.0.9
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="WhatsDotLib" Version="1.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WhatsDotLib" Version="1.0.9" />
<PackageReference Include="WhatsDotLib" />
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 WhatsDotLib --version 1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WhatsDotLib, 1.0.9"
#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 WhatsDotLib@1.0.9
#: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=WhatsDotLib&version=1.0.9
#tool nuget:?package=WhatsDotLib&version=1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
📬 WhatsDotLib
WhatsDotLib is a powerful and easy-to-use .NET library for automating WhatsApp messages using WhatsApp Web inside a WinForms application — with zero cost and no third-party API.
✅ Built for developers using WinForms
✅ No API required — completely free
✅ Legal and safe — uses WhatsApp Web
✅ Seamless installation and integration
Developed by Muhammed Aslam & Shijas Hassain
✨ Features
- 🚫 No API keys needed – No restrictions or monthly limits
- 🛡 Legal & compliant – Uses official WhatsApp Web session
- ⚡ Fast setup – Integrate and send messages in minutes
- 💬 Send messages directly – Supports any valid phone number
- 🔐 Login & session management – Built-in QR scan & logout
📦 Installation
Via .NET CLI:
dotnet add package WhatsDotLib
Or via NuGet Package Manager Console:
Install-Package WhatsDotLib
🧑💻 Usage
1. Import the library:
using WhatsDotLib;
2. Initialize WhatsDot:
You need to pass a WebView2
control from your WinForms form.
WhatsDot whatsObj = new WhatsDot(webview2);
3. Available Methods
Method | Description |
---|---|
checkLogin() |
Returns "connected", "disconnected", or "waiting" |
connectWhatsapp() |
Opens WhatsApp Web and shows QR code for login |
logoutWhatsapp() |
Logs out the current WhatsApp session |
sendMessage(phone, message) |
Sends a WhatsApp message to the given number |
🖥 Requirements
- ✅ .NET Framework or .NET Core (WinForms)
- ✅ Microsoft Edge WebView2 Runtime
👥 Authors
🔗 Links
- 🌐 Website: whatsdot.xyz
- 🔹 NuGet Package: WhatsDotLib on NuGet
- 🔹 GitHub Repository: WhatsDotLib on GitHub
- ☕ Support Us: Buy Me a Coffee
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net9.0-windows was computed. net10.0-windows was computed. |
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.6.2
- Microsoft.Web.WebView2 (>= 1.0.3179.45)
- System.Drawing.Common (>= 9.0.4)
-
net6.0-windows7.0
- Microsoft.Web.WebView2 (>= 1.0.3179.45)
- System.Drawing.Common (>= 9.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.