سلام
با سی شارپ میشه سرعت اسفاده از شبکه رو محدود کرد؟
مثلا کلا بتونم با سرعت 20kps در شبکه دانلود یا آپلود کنم
با استفاده از windows aplication
Printable View
سلام
با سی شارپ میشه سرعت اسفاده از شبکه رو محدود کرد؟
مثلا کلا بتونم با سرعت 20kps در شبکه دانلود یا آپلود کنم
با استفاده از windows aplication
کسی تجربه ای نداره؟
یادآوری ..
کسی مجبورتون کرده با C# باشه؟
میتونید با ۴ خط C یک اینترفیس جدید ایجاد کنید و routing table رو تغییر بدید و ترافیک رو بخونید و هر چیزی که خواستید رو با هر rate ی که دوست دارید بفرستید یا بگیرید.
روترتون میکروتیک ه و میگید windows application
چی بگم؟
windows aplication چه ربطی به میکروتیک داره؟
با کد api توی C# میتونی به میکروتیک وصل شی , فرقی هم نداره win app باشه یا نه ..
http://wiki.mikrotik.com/wiki/Manual:API
میتونی کد C واسه این کارو اینجا واسمون بزاری؟
تشکر
وای چقدر خری.
هیچ چیز دیگه ای نمیتونم بگم.
واقعا که سطح فرهنگ خودت و خانوادتو نشون میدی . شما بهتره چیزی نگی , دوستان دیگه هستن :عصبانی:
آقای محترم کار بلد
بنده سرور میکروتیک دارم , BW Manager هم دارم , از همونجا هم کاراشو انجام میدم , اما میخوام کاربرم به جای اینکه وارد winbox بشه از همون برنامم پهنای باندشو مدیریت کنه ..
تاپیک اول : با سی شارپ میشه سرعت اسفاده از شبکه رو محدود کرد؟
.
.
.
گفتن چرا C استفاده نمیکنی ...
.
.
.
بنابراین با C# فعلا نمیشه یا کسی تا این کارو نکرده یا ...... گفتم واسه این کار من با C# به میکروتیک وصل شم محدودیت سرعت رو از اونجا اعمال میکنم , اتفاقا اینجوری یه حالتی بهتر هم شد , چون دستم بازتره و تغییرات و option های بیشتری میتونم واسه برنامم اضافه کنم
بالاخره شما میخوای چی کار کنید ؟
دوستمون FastCode هم کمی تا حدودی حق دارند !!! (صحبتش خودمونیه دیگه بد اومدن نداره که:لبخندساده: داره راهنماییت میکنه یعنی تا خودتون متوجه نمیشین منظورش چیه باید چی بگه اخه ؟ وگرنه اطلاعات خیلی خوبی دارند ، در هر حال به همدیگه بی احترامی نکنید نه شما نه ایشون بهتره !)
بابا به خود میکروتیک وصل شو و سرعت را با میکروتیک محدود کن (این که دیگه ربطی به این نداره که سرعت با سی شارپ محدود بشه این به میکروتیک ربط داره و....
بعدش هم
تو متنی که شما زدی اصلا اول کار حرفی از میکروتیک نزدی و این حرفی هم که الان زدی را نگفته بودی اگر میخوای با سی شارپ به میکروتیک وصل بشی و محدودیت را روی میکروتیک اعمال کنی دیگه وصل شدنش را که وصل شده ایدنقل قول:
گفتم واسه این کار من با C# به میکروتیک وصل شم محدودیت سرعت رو از اونجا اعمال میکنم , اتفاقا اینجوری یه حالتی بهتر هم شد , چون دستم بازتره و تغییرات و option های بیشتری میتونم واسه برنامم اضافه کنم
الان باید از خود میکروتیک سر در بیاری تا بتونی محدودیت را اعمال کنی (زیاد هم مشکل نیست !)
ولی کلا شما سوالت مشکل داشته !!!:لبخندساده: با سی شارپ هم میشه سرعت را محدود کرد یکم کد نویسی بیشتر میشه ولی نشدنی نیست !
الان دیگه جوابت را گرفتی ؟ (با میکروتیک کنترل کن به خاطر باز بودن دستت در کار ها ، راحتی ، دسترسی ، امکانات و..... !)
موفق باشی
من میتونم با میکروتیک محدود کنم , اما یه کاربر عادی که سر از winbox در نمیاره , واسه همین من میخواستم اول با خود سی شارپ محدود کنم , وقتی دیدم کسی نظری نداد گفتم پس بیام از میکروتیک استفاده کنم
من وقتی سوال رو مطرح کردم , چند روز منتظر جواب بودم , کسی چیزی نگفت , تو این بین خودم هم دنبال راه حل بودم تا رسیدم به میکروتیک , نتیجه جستجو خودمو اینجا گفتم
تشکر بابت توجهی که به این تاپیک داشتی
آقای با فرهنگ, قبل از اینکه چیزی بنویسی روش فکر کن.اینها رو باید توی پست اول مینوشتی(به فعل ماضی دقت کنید.)
سی شارپ و میکروتیک؟ اصلا داریم؟ (:لبخند:).
احتمالا خود میکروتیک بدون نوشتن برنامه جداگانه این کار رو براتون انجام بده.
شما آیا مدرک میکروتیک دارید؟ تا بحال دوره میکروتیک دیدید؟
با C# هم میشه.برای همین توی پست اول پرسیدم که مجبور هستن یا نه؟هنوز هم اگر کسی مجبورشون نکرده و تصمیم خودشون C# هست, میشه راههای خیلی بهتری پیشنهاد داد که شاید پیاده سازیشون ۵ دقیقه هم طول نکشه.
مثل ssh+expect یا snmp
@prpe26:شما اگر اعصاب و روان کافی داری توضیح بده چون احتمالا من دیگه به این تاپیک پاسخ ندم.
فکر کنم با یک Shell Script ساده هم بشه سر و تهش رو هم آورد :) .
سی شارپ با میکروتیک , php با میکروتیک و ... همشون هم با کد api به میکروتیک وصل میشن , همون دستوراتی که تو shell میکروتیک وارد میکنید رو میتونید انجام بدید.
آره , خود میکروتیک بدون برنامه جانبی این کارو انجام میده , برای منو شما راحته , اما برای یه کاربر ساده شاید سخت باشه
من مدرک میکروتیک ندارم اما با میکروتیک زیاد کار کردم
حالا چه فازیه اینقدر رو C# غیرتی می شین ؟:لبخند:
داداش از Quality of Service (QoS) هم جدا می تونی استفاده کنی !!!! یا این که اون رو تغییر بدی .
ببین این به کارت میاد ؟!!!
اگر هم که نشد از http://www.netlimiter.com/ استفاده کن .
با Console دو تا SendKey بزار .