Iranian Programming Support

Welcome To Csharp TeaM Forum.
For Use All Forum Posts And See Links
Please Register
Thanks
www.Programming.MrForum.net
Csharp TeaM Administrator
Iranian Programming Support

Csharp TeaM

Top posting users this month

Latest topics

» html to c# source code convert help
by launchar Tue Dec 06, 2016 7:22 am

» User input
by nesraz Sun Dec 20, 2015 8:39 am

» darkhaste source mediaplayer baraye b4a
by parham01 Tue Dec 15, 2015 10:31 am

» Tolide esme file gheire tekrari
by sajjad3011 Fri Jul 31, 2015 5:00 pm

» 368 library basic 4 android
by alimusavi71 Fri Jul 17, 2015 6:45 pm

» نرم افزار دریافت لایسنس آنتی ویروس نود 32
by programmer-x Wed Jul 15, 2015 3:19 pm

» help for java applications
by launchar Wed Jul 01, 2015 12:25 am

» Nimbuzz id Maker auto Captcha & Auto add FlooD & id BloCker
by briant Sat Jun 20, 2015 12:46 pm

» best mobile server v.1.0.0 persian edition
by programmer-x Fri Jun 19, 2015 12:41 am

» plz help me i neez xml code for spy bot
by alone Sun Mar 22, 2015 9:30 pm

» Dialogs Lib {Basic 4 Android}
by abdo0o Mon Mar 09, 2015 4:02 pm

» Room + PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:06 am

» PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:03 am

» سی شارپ سورس
by tr0 Wed Dec 24, 2014 12:15 pm

» help plz auto maker ids
by launchar Wed Dec 17, 2014 5:57 pm

» Join Multi Id To Room + Captcha [ Badbuzz Team ] In Seri Ba AgsXMPP !!
by abdo0o Fri Dec 12, 2014 4:47 am

» Amoozesh Ersale Sms Dar B4a
by abdo0o Fri Dec 12, 2014 4:43 am

» help me pls mehran brother
by launchar Wed Dec 03, 2014 6:36 pm

» plz help code Refresh captcha join Room
by ayad53 Wed Dec 03, 2014 12:24 pm

» please Help Me For AutoCaptchaa kardan IdMaker
by abdo0o Tue Dec 02, 2014 12:12 pm

» source C# bot addlist sender by ==> Alone_051@n.c
by walahazrat Mon Dec 01, 2014 2:34 am

» s2a sender tro help me pls
by walahazrat Mon Dec 01, 2014 2:28 am

» Help For {Data id } C# asixmpp.dll
by abdo0o Sun Nov 30, 2014 11:17 pm

» Help C# {Join & Left With Remoter}
by $iahi Tue Nov 25, 2014 10:31 am

» Source Nimbuzz User Searcher By Mehr,an [ Badbuzz TeaM ]
by waseemmalik Wed Nov 19, 2014 11:35 am


    Check Internet Connection And Get IP In B4A

    Share
    avatar
    Mehran Mahmoudi
    Administrator
    Administrator

    Posts : 485
    Points : 780
    Thanks : 194
    Join date : 2013-09-06
    Age : 19
    Location : Iran , Qazvin , Qazvin

    Open Check Internet Connection And Get IP In B4A

    Post by Mehran Mahmoudi on Tue Aug 05, 2014 6:04 am

    Hi Doostan

    Az Libraryhaye B4A ,Network Ro Tik Bezanid, Dar Ghesmate Sub Globals:


    Code:
    Dim x As ServerSocket

    Server Socket Tarif Mikonim, Ba Type Kardane x. Mitunid Bebinid Emkanatesho !
    -----
    Ba Method Zir Ham Mitunid Ip Ro Get Konid, Vaghti Net Vasl Nabashe IP = 127.0.0.1 Hastesh, Pas Vaghti Ip In Bood Yani Net Nist, Age Chize Dige Bood, Be Internet Vaslim :


    Code:
    Sub GetIp() As String ' Tarife Subemon
     x.Initialize(0,"")  ' New Mikonim   :D :D
    ' Avvali [0] Port Va Dovvomi Esme Event has Ke Man Khali Gozashtam Evento !
     If x.GetMyIP = "127.0.0.1" Then ' Age Ip = 127.0.0.1 Bood [Yani Be Net Vasl Naboodim]
     Return "No internet connection" ' Return Bede Ke Internet Connection Niiiiiiiiis
     Else ' Dar Gheyre In Soorat [ Age Ip = 127.0.0.1 Nabood Yani Net Dashtim ] :
     Return x.GetMyIP ' Ip Ro Return Bede
     End If ' Payane If
    End Sub ' Payane Sub


    In Ye Stringe Ke Bargashtesh [Returnesh] IP e Ma Hastesh.

    Movafagh Bashim.


    Be Ghole Mehdi: Priv8 ! By Csharp TeaM  GAMER






    Anjomane Barname Nevisane Basic4Android
    __

    MehranMahmoudi1119@Yahoo.Com

    avatar
    Armin Ramzani
    Programmer
    Programmer

    Posts : 312
    Points : 559
    Thanks : 61
    Join date : 2014-02-25
    Age : 22
    Location : Iran , Gilan , Lahijan

    Open Re: Check Internet Connection And Get IP In B4A

    Post by Armin Ramzani on Fri Aug 08, 2014 7:16 am

    MC YE soal in peyghame inke be net vaslim ya na ro to chi behemon mide?





    DRINK Be Name Madar DRINK
    Baraye Tashakor kardan Az + Use Konid
    -sld@Nimbuzz.Com
    Armin_Night01@Yahoo.Com
    Copy Bardari Ba Zekre Manba Mojaz Mibashad
    avatar
    Mehran Mahmoudi
    Administrator
    Administrator

    Posts : 485
    Points : 780
    Thanks : 194
    Join date : 2013-09-06
    Age : 19
    Location : Iran , Qazvin , Qazvin

    Open Re: Check Internet Connection And Get IP In B4A

    Post by Mehran Mahmoudi on Fri Aug 08, 2014 2:12 pm

    Aziz Intori Mituni Estefade Koni:
    Code:
    dim strConnection = GetIp
    if strConnection = "No internet connection" then
    ' inja bego net nist, msgbox bede
    else
    ' begu net hast
    end if






    Anjomane Barname Nevisane Basic4Android
    __

    MehranMahmoudi1119@Yahoo.Com

    avatar
    Armin Ramzani
    Programmer
    Programmer

    Posts : 312
    Points : 559
    Thanks : 61
    Join date : 2014-02-25
    Age : 22
    Location : Iran , Gilan , Lahijan

    Open Re: Check Internet Connection And Get IP In B4A

    Post by Armin Ramzani on Fri Aug 22, 2014 5:20 am

    salam dash ye soal dar in mored man ino har kari mikonam nemitonam use konam in khat

    Sub GetIp() As String

    mige not used





    DRINK Be Name Madar DRINK
    Baraye Tashakor kardan Az + Use Konid
    -sld@Nimbuzz.Com
    Armin_Night01@Yahoo.Com
    Copy Bardari Ba Zekre Manba Mojaz Mibashad
    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Check Internet Connection And Get IP In B4A

    Post by Mehdi izadi on Fri Aug 22, 2014 6:05 am

    Aziz Mitooni Injoori Koni:

    Code:
    Dim x As ServerSocket


    Code:
    Sub Activity_Create(FirstTime As Boolean)
        Activity.LoadLayout("Layout1")
        GetIp
    End Sub


    Code:
    Sub GetIp
         x.Initialize(0,"")
         If x.GetMyIP = "127.0.0.1" Then
         ToastMessageShow("No internet connection",False)
         Else
         ToastMessageShow(x.GetMyIP,False)
         End If
    End Sub






    Lotfan Baraye Tashakor Va Emtiaz Dehi Az + Estefade Konid

    Sponsored content

    Open Re: Check Internet Connection And Get IP In B4A

    Post by Sponsored content


      Current date/time is Wed Aug 23, 2017 12:39 pm