473,756 Members | 9,646 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Just like NetLimiter - Bandwidth limiting per Process with C#

z.c
Hi Guys,
i'am on a Mission but i'am stuck, usually you can help me out.
I'am trying to write a C# Application that can Limit the Network
Bandwidth (In- and Out-going) per Process just like NetLimiter. But I
have many Problems at the moment my biggest Problem is how to Limit
the Bandwidth.
With IpHlpApi.dll I can get all Processes with open Connection and the
Ports they are using and I can Apply a Filter that Blocks a Port
(PPF_FILTER_DES CRIPTOR). But how can I Set a Bandwidth limit for a
Port or a Process. I don't know, i've googelED all Day but can't get a
clear Solution, usually it is becauce my Bad English or my Bad C++.
If you want to look at some Other tools that Do nearly the same go to:
www.netlimiter.com
www.bandwidthcontroller.com

z.c
Nov 16 '05 #1
0 5096

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6074
by: FLEB | last post by:
Is there a way to check my site's bandwidth usage via PHP? I'd like to "gracefully bail" if I start to get near my host's limit. Its running on a shared Linux box, on Apache 1.3.31 and PHP v4.3.3 as a module. Thanks. -- -- Rudy Fleminger -- sp@mmers.and.evil.ones.will.bow-down-to.us (put "Hey!" in the Subject line for priority processing!)
4
2034
by: Adam | last post by:
Greetings, I am creating a web application, which I will be selling licenses to be able to use it. So Customer Group A, could purchase 3 licenses, Customer Group B could purchase 30. With the web app I am using asp.net/vb.net This means Customer Group A, could only have 3 concurrent users logged in, and for Customer Group B only 30 at one time.
2
1600
by: hoenes1 | last post by:
Hi all, I have an asp.net application from which registered users can download files. What I want to implement is a bandwidth restriction for certain users. What I DON'T want to do is restrict the bandwidth on the IIS side. It really should be handled in the code. Here is a code snippet showing how downloads are currently handled (standard implementation I guess): // fs: FileStream
9
5946
by: Chibi | last post by:
I'm writing an application that's bandwidth intense. My available bandwidth is 1.5Mbps (cable modem) and I know I can reach around 1.4Mbps, if not more. The application I am writing right now simply connects to a newsgroup and downloads the headers. It doesn't do any more specific programmming after that. However, the app will use, at most, 100kbps bandwidth. I'm hoping that it can run much faster than that and reach somewhere close...
0
1337
by: Ali Onder via .NET 247 | last post by:
I am coding an application for my senior project. I need some help on bandwidth limiting in C#. I am tring to limit the bandwidth per application or in other words per socket. Since I am able to find the application' s ProcessID and port informations. -------------------------------- From: Ali Onder ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>DTBdhCXwcke+RaJ/Mvedcw==</Id>
3
1859
by: Jack Fox | last post by:
While stress-testing our ASP.NET app, we discovered a flaw in our test set-up, which also reveals a flaw in our ASP.NET configuration that we do not know how to address. We simulated too many clients, making requests faster than the bandwidth on that part of the network could consume the responses. It seems that the inability of the requestors to receive their responses causes IIS, and/or aspnet_wp.exe, to eventually max-out its...
11
1790
by: Doug Laidlaw | last post by:
I know that this thread is inappropriate for this list, but c.i.w.a.servers is dead at my address. Google has been around to my site twice this month and downloaded almost a GB, putting me over my bandwidth limit both times I imagine that if I wasn't paying a flat fee, that would be costing me money. Is there a way of limiting this while at the same time allowing Google reasonable indexing? I imagine that they are downloading the...
1
1708
by: outune | last post by:
Hello, I'm using urllib2 with threading and semaphore, it works fine, but can I set a bandwidth limit in that process?
0
1049
by: rn5a | last post by:
In a ASP.NET application, users can upload files from their hard disk to the server. Users can also create new files & directories directly on the server, rename them, delete them, edit the files etc. Whenever a user performs any such action, I did like to find out the bandwidth used in the process. Is it possible to find out the bandwidth usage using ASP.NET?
0
9482
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10062
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9901
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9878
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9728
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7282
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6551
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5322
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3392
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.