473,746 Members | 2,226 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

parsing a string as XML using VB.NET

Hi,

I would like to know how to parse the following xml string using vb.net?
currxml="
<employee><addr ess_2></address_2><assi gnments><assign ment><assigned_ bargaini
ng_unit></assigned_bargai ning_unit><assi gned_department ></assigned_depart men
t><assigned_loc ations><assigne d_location></assigned_locati on></assigned_loca
tions><assigned _position></assigned_positi on><assigned_po sition_departme nt><
/assigned_positi on_department></assignment></assignments><ca tegory>TEAC</cat
egory><city>VIC TORIA</city><country_c ode>CAN</country_code><d emographic_barg
aining_unit></demographic_bar gaining_unit><d emographic_depa rtment></demograp
hic_department> <demographic_lo cation></demographic_loc ation><demograp hic_pos
ition></demographic_pos ition><email></email><employee _no>202307</employee_no
<fax_no></fax_no><first_n ame>MURIEL</first_name><las t_name>ANDREWS</last_na

me><middle_name ></middle_name><mo st_assigned_bar gaining_unit></most_assigned
_bargaining_uni t><most_assigne d_department></most_assigned_d epartment><most _
assigned_locati on></most_assigned_l ocation><most_a ssigned_positio n></most_as
signed_position ><most_assigned _position_depar tment></most_assigned_p osition_
department><pos tal_code>V8S
5G5</postal_code><pr eferred_name></preferred_name> <province_code> BC</provinc
e_code><salutat ion>MS</salutation><sin >706257185</sin><status>T</status><str
eet>1050 DEAL STREET</street><telepho ne_no></telephone_no></employee>"

here is my code so far:
Dim strreader = New StringReader(cu rrxml)

Dim xmldoc As New XmlDocument

xmldoc.LoadXml( currxml)

reader = New XmlNodeReader(x mldoc)

While reader.Read

Select Case reader.NodeType

Case XmlNodeType.Ele ment

If reader.Name = "category" Then

MsgBox(reader.N ame)

End If

End Select

End While

I do see the read.Name as category but it doesnt give me "TEAC". I dont get
any value in the msgbox. It is blank. Am I missing something?

I see the value for city which is "VICTORIA" but the reader.Name is "".

thanks for you help,

Will
Nov 21 '05 #1
7 18142
WK6pack,

When you are lucky than it has a dataset format. Add for that a dataset from
the items to your solution and paste your file in, than you see that direct.

When not you can better take the XMLNodeReader
http://msdn.microsoft.com/library/de...classtopic.asp

I take the xmldoc only in JavaScript.

I hope this helps,

Cor
Nov 21 '05 #2
Hi Cor,

I'm not sure what you mean by dataset format. But I am using the
XMLNodeReader.
I would like to know how do I know the tag has a value or not.

thanks,
Will
"Cor Ligthert" <no************ @planet.nl> wrote in message
news:OT******** ******@TK2MSFTN GP14.phx.gbl...
WK6pack,

When you are lucky than it has a dataset format. Add for that a dataset from the items to your solution and paste your file in, than you see that direct.
When not you can better take the XMLNodeReader
http://msdn.microsoft.com/library/de...classtopic.asp
I take the xmldoc only in JavaScript.

I hope this helps,

Cor

Nov 21 '05 #3
wk6pack,
| I would like to know how to parse the following xml string using vb.net?
I would "parse" it with either a XmlTextReader, XmlDocument, or
XPathDocument, something like:

Dim currxml As String = ...

Dim input As New StringReader(cu rrxml)

Dim reader As New XmlTextReader(i nput)

If I loaded the string into an XmlDocument or an XPathDocument, I would use
the various methods on those objects (such as Select) to extract the content
that I need. Rarely would I "hand it back" to an XmlNodeReader.. .

| I do see the read.Name as category but it doesnt give me "TEAC". I dont
get
| any value in the msgbox. It is blank. Am I missing something?

Yes, you are confusing an Element Node with a Text Node. "<category> " is an
Element node, while "TEAC" is a Text Node which happens to be the contents
of the "<category> " Element node

| I see the value for city which is "VICTORIA" but the reader.Name is "".
Again, "VICTORIA" is a Text Node, which happens to be the contents of a
"<category> " Element node.

To see the different between the various node types, try:

Dim currxml As String = ...
Dim input As New StringReader(cu rrxml)
Dim reader As New XmlTextReader(i nput)

While reader.Read
Debug.WriteLine (reader.NodeTyp e, "node type")
Debug.WriteLine (reader.Prefix, "prefix")
Debug.WriteLine (reader.LocalNa me, "local name")
Debug.WriteLine (reader.Name, "name")
Debug.WriteLine (reader.Namespa ceURI, "namespace" )
Debug.WriteLine (reader.Value, "value")
Debug.WriteLine (Nothing)
End While

Hope this helps
Jay
"wk6pack" <wk***@sd61.bc. ca> wrote in message
news:O5******** ******@tk2msftn gp13.phx.gbl...
| Hi,
|
| I would like to know how to parse the following xml string using vb.net?
| currxml="
|
<employee><addr ess_2></address_2><assi gnments><assign ment><assigned_ bargaini
|
ng_unit></assigned_bargai ning_unit><assi gned_department ></assigned_depart men
|
t><assigned_loc ations><assigne d_location></assigned_locati on></assigned_loca
|
tions><assigned _position></assigned_positi on><assigned_po sition_departme nt><
|
/assigned_positi on_department></assignment></assignments><ca tegory>TEAC</cat
|
egory><city>VIC TORIA</city><country_c ode>CAN</country_code><d emographic_barg
|
aining_unit></demographic_bar gaining_unit><d emographic_depa rtment></demograp
|
hic_department> <demographic_lo cation></demographic_loc ation><demograp hic_pos
|
ition></demographic_pos ition><email></email><employee _no>202307</employee_no
|
<fax_no></fax_no><first_n ame>MURIEL</first_name><las t_name>ANDREWS</last_na

|
me><middle_name ></middle_name><mo st_assigned_bar gaining_unit></most_assigned
|
_bargaining_uni t><most_assigne d_department></most_assigned_d epartment><most _
|
assigned_locati on></most_assigned_l ocation><most_a ssigned_positio n></most_as
|
signed_position ><most_assigned _position_depar tment></most_assigned_p osition_
| department><pos tal_code>V8S
|
5G5</postal_code><pr eferred_name></preferred_name> <province_code> BC</provinc
|
e_code><salutat ion>MS</salutation><sin >706257185</sin><status>T</status><str
| eet>1050 DEAL STREET</street><telepho ne_no></telephone_no></employee>"
|
| here is my code so far:
| Dim strreader = New StringReader(cu rrxml)
|
| Dim xmldoc As New XmlDocument
|
| xmldoc.LoadXml( currxml)
|
| reader = New XmlNodeReader(x mldoc)
|
| While reader.Read
|
| Select Case reader.NodeType
|
| Case XmlNodeType.Ele ment
|
| If reader.Name = "category" Then
|
| MsgBox(reader.N ame)
|
| End If
|
| End Select
|
| End While
|
|
|
| I do see the read.Name as category but it doesnt give me "TEAC". I dont
get
| any value in the msgbox. It is blank. Am I missing something?
|
| I see the value for city which is "VICTORIA" but the reader.Name is "".
|
| thanks for you help,
|
| Will
|
|
Nov 21 '05 #4
Wk6Pack,

I checked it, your file is a normal dataset. When you open in the designer
as item an XML file and than paste your data in, than it will create for you
a dataset. When you than go to Data view below on the page, than you see a
kind of datagrid.

You can process this file as a normal dataset with
dim ds as new dataset
ds.readxml("myf ile")

To get the values from by instance non strongly typed. (what you can
generate as well by right clicking on that datagrid and than do generate
dataset). However beneath non strongly typed. Than the first category from
employee is

Dim mystring as string = ds.tables("empl oyee").Rows(0)( "category")
'be aware that those columnames are case sensitive.

I hope this helps,

Cor

Nov 21 '05 #5
As extra tip to Cor`s thought about putting the data in a dataset

dim currxml="
<employee><addr ess_2></address_2><assi gnments><assign ment><assigned_ bargaini
ng_unit></assigned_bargai ning_unit><assi gned_department ></assigned_depart men
t><assigned_loc ations><assigne d_location></assigned_locati on></assigned_loca
tions><assigned _position></assigned_positi on><assigned_po sition_departme nt><
/assigned_positi on_department></assignment></assignments><ca tegory>TEAC</cat
egory><city>VIC TORIA</city><country_c ode>CAN</country_code><d emographic_barg
aining_unit></demographic_bar gaining_unit><d emographic_depa rtment></demograp
hic_department> <demographic_lo cation></demographic_loc ation><demograp hic_pos
ition></demographic_pos ition><email></email><employee _no>202307</employee_no
<fax_no></fax_no><first_n ame>MURIEL</first_name><las t_name>ANDREWS</last_na me><middle_name ></middle_name><mo st_assigned_bar gaining_unit></most_assigned
_bargaining_uni t><most_assigne d_department></most_assigned_d epartment><most _
assigned_locati on></most_assigned_l ocation><most_a ssigned_positio n></most_as
signed_position ><most_assigned _position_depar tment></most_assigned_p osition_
department><pos tal_code>V8S
5G5</postal_code><pr eferred_name></preferred_name> <province_code> BC</provinc
e_code><salutat ion>MS</salutation><sin >706257185</sin><status>T</status><str
eet>1050 DEAL STREET</street><telepho ne_no></telephone_no></employee>"
Dim xmldoc As New XmlDocument

xmldoc.LoadXml( currxml)

Dim XMLnr As New XmlNodeReader(X mldoc.SelectSin gleNode("employ ee"))

Dim ds As New DataSet

ds.ReadXml(XMLn r)

Dim ds As New DataSet

ds.ReadXml(XMLn r)

'to prove that it works throw a datagrid on the form

DataGrid1.DataS ource = ds

happy coding :-)

M. Posseth [MCP Developer]
"Cor Ligthert" <no************ @planet.nl> wrote in message
news:OJ******** ******@TK2MSFTN GP15.phx.gbl... Wk6Pack,

I checked it, your file is a normal dataset. When you open in the designer
as item an XML file and than paste your data in, than it will create for you a dataset. When you than go to Data view below on the page, than you see a
kind of datagrid.

You can process this file as a normal dataset with
dim ds as new dataset
ds.readxml("myf ile")

To get the values from by instance non strongly typed. (what you can
generate as well by right clicking on that datagrid and than do generate
dataset). However beneath non strongly typed. Than the first category from
employee is

Dim mystring as string = ds.tables("empl oyee").Rows(0)( "category")
'be aware that those columnames are case sensitive.

I hope this helps,

Cor

Nov 21 '05 #6
Thanks Cor, Jay and M. Posseth. I now understand it a bit better.

Will
"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message
news:u2******** ******@TK2MSFTN GP12.phx.gbl...
wk6pack,
| I would like to know how to parse the following xml string using vb.net?
I would "parse" it with either a XmlTextReader, XmlDocument, or
XPathDocument, something like:

Dim currxml As String = ...

Dim input As New StringReader(cu rrxml)

Dim reader As New XmlTextReader(i nput)

If I loaded the string into an XmlDocument or an XPathDocument, I would use the various methods on those objects (such as Select) to extract the content that I need. Rarely would I "hand it back" to an XmlNodeReader.. .

| I do see the read.Name as category but it doesnt give me "TEAC". I dont
get
| any value in the msgbox. It is blank. Am I missing something?

Yes, you are confusing an Element Node with a Text Node. "<category> " is an Element node, while "TEAC" is a Text Node which happens to be the contents
of the "<category> " Element node

| I see the value for city which is "VICTORIA" but the reader.Name is "".
Again, "VICTORIA" is a Text Node, which happens to be the contents of a
"<category> " Element node.

To see the different between the various node types, try:

Dim currxml As String = ...
Dim input As New StringReader(cu rrxml)
Dim reader As New XmlTextReader(i nput)

While reader.Read
Debug.WriteLine (reader.NodeTyp e, "node type")
Debug.WriteLine (reader.Prefix, "prefix")
Debug.WriteLine (reader.LocalNa me, "local name")
Debug.WriteLine (reader.Name, "name")
Debug.WriteLine (reader.Namespa ceURI, "namespace" )
Debug.WriteLine (reader.Value, "value")
Debug.WriteLine (Nothing)
End While

Hope this helps
Jay
"wk6pack" <wk***@sd61.bc. ca> wrote in message
news:O5******** ******@tk2msftn gp13.phx.gbl...
| Hi,
|
| I would like to know how to parse the following xml string using vb.net?
| currxml="
|
<employee><addr ess_2></address_2><assi gnments><assign ment><assigned_ bargaini |
ng_unit></assigned_bargai ning_unit><assi gned_department ></assigned_depart men |
t><assigned_loc ations><assigne d_location></assigned_locati on></assigned_loca |
tions><assigned _position></assigned_positi on><assigned_po sition_departme nt>< |
/assigned_positi on_department></assignment></assignments><ca tegory>TEAC</cat |
egory><city>VIC TORIA</city><country_c ode>CAN</country_code><d emographic_barg |
aining_unit></demographic_bar gaining_unit><d emographic_depa rtment></demograp |
hic_department> <demographic_lo cation></demographic_loc ation><demograp hic_pos |
ition></demographic_pos ition><email></email><employee _no>202307</employee_no |

<fax_no></fax_no><first_n ame>MURIEL</first_name><las t_name>ANDREWS</last_na
|
me><middle_name ></middle_name><mo st_assigned_bar gaining_unit></most_assigned |
_bargaining_uni t><most_assigne d_department></most_assigned_d epartment><most _ |
assigned_locati on></most_assigned_l ocation><most_a ssigned_positio n></most_as |
signed_position ><most_assigned _position_depar tment></most_assigned_p osition_ | department><pos tal_code>V8S
|
5G5</postal_code><pr eferred_name></preferred_name> <province_code> BC</provinc |
e_code><salutat ion>MS</salutation><sin >706257185</sin><status>T</status><str | eet>1050 DEAL STREET</street><telepho ne_no></telephone_no></employee>"
|
| here is my code so far:
| Dim strreader = New StringReader(cu rrxml)
|
| Dim xmldoc As New XmlDocument
|
| xmldoc.LoadXml( currxml)
|
| reader = New XmlNodeReader(x mldoc)
|
| While reader.Read
|
| Select Case reader.NodeType
|
| Case XmlNodeType.Ele ment
|
| If reader.Name = "category" Then
|
| MsgBox(reader.N ame)
|
| End If
|
| End Select
|
| End While
|
|
|
| I do see the read.Name as category but it doesnt give me "TEAC". I dont
get
| any value in the msgbox. It is blank. Am I missing something?
|
| I see the value for city which is "VICTORIA" but the reader.Name is "".
|
| thanks for you help,
|
| Will
|
|

Nov 21 '05 #7
thanks Cor, M. Posseth and Jay.

Will
"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message
news:u2******** ******@TK2MSFTN GP12.phx.gbl...
wk6pack,
| I would like to know how to parse the following xml string using vb.net?
I would "parse" it with either a XmlTextReader, XmlDocument, or
XPathDocument, something like:

Dim currxml As String = ...

Dim input As New StringReader(cu rrxml)

Dim reader As New XmlTextReader(i nput)

If I loaded the string into an XmlDocument or an XPathDocument, I would use the various methods on those objects (such as Select) to extract the content that I need. Rarely would I "hand it back" to an XmlNodeReader.. .

| I do see the read.Name as category but it doesnt give me "TEAC". I dont
get
| any value in the msgbox. It is blank. Am I missing something?

Yes, you are confusing an Element Node with a Text Node. "<category> " is an Element node, while "TEAC" is a Text Node which happens to be the contents
of the "<category> " Element node

| I see the value for city which is "VICTORIA" but the reader.Name is "".
Again, "VICTORIA" is a Text Node, which happens to be the contents of a
"<category> " Element node.

To see the different between the various node types, try:

Dim currxml As String = ...
Dim input As New StringReader(cu rrxml)
Dim reader As New XmlTextReader(i nput)

While reader.Read
Debug.WriteLine (reader.NodeTyp e, "node type")
Debug.WriteLine (reader.Prefix, "prefix")
Debug.WriteLine (reader.LocalNa me, "local name")
Debug.WriteLine (reader.Name, "name")
Debug.WriteLine (reader.Namespa ceURI, "namespace" )
Debug.WriteLine (reader.Value, "value")
Debug.WriteLine (Nothing)
End While

Hope this helps
Jay
"wk6pack" <wk***@sd61.bc. ca> wrote in message
news:O5******** ******@tk2msftn gp13.phx.gbl...
| Hi,
|
| I would like to know how to parse the following xml string using vb.net?
| currxml="
|
<employee><addr ess_2></address_2><assi gnments><assign ment><assigned_ bargaini |
ng_unit></assigned_bargai ning_unit><assi gned_department ></assigned_depart men |
t><assigned_loc ations><assigne d_location></assigned_locati on></assigned_loca |
tions><assigned _position></assigned_positi on><assigned_po sition_departme nt>< |
/assigned_positi on_department></assignment></assignments><ca tegory>TEAC</cat |
egory><city>VIC TORIA</city><country_c ode>CAN</country_code><d emographic_barg |
aining_unit></demographic_bar gaining_unit><d emographic_depa rtment></demograp |
hic_department> <demographic_lo cation></demographic_loc ation><demograp hic_pos |
ition></demographic_pos ition><email></email><employee _no>202307</employee_no |

<fax_no></fax_no><first_n ame>MURIEL</first_name><las t_name>ANDREWS</last_na
|
me><middle_name ></middle_name><mo st_assigned_bar gaining_unit></most_assigned |
_bargaining_uni t><most_assigne d_department></most_assigned_d epartment><most _ |
assigned_locati on></most_assigned_l ocation><most_a ssigned_positio n></most_as |
signed_position ><most_assigned _position_depar tment></most_assigned_p osition_ | department><pos tal_code>V8S
|
5G5</postal_code><pr eferred_name></preferred_name> <province_code> BC</provinc |
e_code><salutat ion>MS</salutation><sin >706257185</sin><status>T</status><str | eet>1050 DEAL STREET</street><telepho ne_no></telephone_no></employee>"
|
| here is my code so far:
| Dim strreader = New StringReader(cu rrxml)
|
| Dim xmldoc As New XmlDocument
|
| xmldoc.LoadXml( currxml)
|
| reader = New XmlNodeReader(x mldoc)
|
| While reader.Read
|
| Select Case reader.NodeType
|
| Case XmlNodeType.Ele ment
|
| If reader.Name = "category" Then
|
| MsgBox(reader.N ame)
|
| End If
|
| End Select
|
| End While
|
|
|
| I do see the read.Name as category but it doesnt give me "TEAC". I dont
get
| any value in the msgbox. It is blank. Am I missing something?
|
| I see the value for city which is "VICTORIA" but the reader.Name is "".
|
| thanks for you help,
|
| Will
|
|

Nov 21 '05 #8

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

Similar topics

8
9442
by: Gerrit Holl | last post by:
Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $ Last-Modified: $Date: 2003/10/28 19:48:44 $ Author: A.M. Kuchling <amk@amk.ca> Status: Draft Type: Standards Track
6
7657
by: BerkshireGuy | last post by:
Does anyone know of a good function that will parse out parts of an SQL statement that is passed to it in seperate variables? It should be able to parse statements that contain ORDERBY, WHERE, GROUP, etc. Thank you, Brian
50
4950
by: z. f. | last post by:
HI, i have string in format dd/mm/yyyyy hh:mm:ss and giving this as an input to DateTime.Parse gives a string was not recognized as a valid date time format string error. how do i make the parse method to accept formating that i need. if i do console.writeLine DateTime.Now.ToString it gives the format: YYYY-MM-DD HH:MM:SS TIA, Z.
3
4385
by: toton | last post by:
Hi, I have some ascii files, which are having some formatted text. I want to read some section only from the total file. For that what I am doing is indexing the sections (denoted by .START in the file) with the location. And for a particular section I parse only that section. The file is something like, .... DATAS
9
1989
by: Paulers | last post by:
Hello, I have a log file that contains many multi-line messages. What is the best approach to take for extracting data out of each message and populating object properties to be stored in an ArrayList? I have tried looping through the logfile using regex, if statements and flags to find the start and end of each message but I do not see a good time in this process to create a new instance of my Message object. While messing around with...
3
3318
by: Anup Daware | last post by:
Hi Group, I am facing a strange problem here: I am trying to read xml response from a servlet using XmlTextWriter. I am able to read the read half of the xml and suddenly an exception: “Unexpected end of file while parsing Name has occurred” isbeing thrown. Following is the part o xml I am trying to read: <CHECK_ITEM_OUT>
3
2701
by: aspineux | last post by:
My goal is to write a parser for these imaginary string from the SMTP protocol, regarding RFC 821 and 1869. I'm a little flexible with the BNF from these RFC :-) Any comment ? tests= def RN(name, regex): """protect using () and give an optional name to a regex""" if name:
2
4883
by: RG | last post by:
I am having trouble parsing the data I need from a Serial Port Buffer. I am sending info to a microcontroller that is being echoed back that I need to remove before I start the actual important data reading. For instance this is my buffer string: 012301234FFFFFFxFFFFFFxFFFFFFx Where the FFFFFF is my Hex data I need to read. I am using the "x" as a separater as I was having problems using the VbCrLf. But I think
6
1925
by: gw7rib | last post by:
I have a program that needs to do a small amount of relatively simple parsing. The routines I've written work fine, but the code using them is a bit long-winded. I therefore had the idea of creating a class to do parsing. It could be used as follows: int a, n, x, y; Parser par; par << string;
1
4403
by: eyeore | last post by:
Hello everyone my String reverse code works but my professor wants me to use pop top push or Stack code and parsing code could you please teach me how to make this code work with pop top push or Stack code and parsing code my professor i does not like me using buffer reader on my code and my professor did even give me an example code for parsing as well as pop push top or Stack code and i don't know how to do this code into parsing and pop push...
0
8970
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8795
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9279
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
9214
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...
0
8219
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6763
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
4573
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3287
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2759
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.