如何使用VB.net下载文件从XML或INI文件下载数据?
是否可以使用VB.net从XML文件下载数据?
如果是这样,有人会帮助我或指出我正确的方向。
>
-Explanation -
我用VB.net制作的发射器/修补程序从数据包含的XML文件中下载文件。它读取字符串XML文件和VB.net读取它并从行/字符串下载文件。
我已经通过''Reflector / RedGate'打开了程序它可以反编译源,然后检查它是如何工作的。现在大部分时间对我来说都很困难/复杂。
但这些是修补器/启动器确实具有的功能,我可以清楚地理解。
- 发射器/修补器功能如何! -
#它检查webhost /域是否在线。
#检查文件是否存在于''DIR'中
#读取DIR中的XML文件
#有些人使用HashChecks来查找XML包含的字符串。它将检查主机/域已上传的文件的行/字符串。
#它从XML包含的每一行/字符串下载文件。
#然后显示文件大小,接收的字节数和下载的字节总数。 />
#下载开始时,进度条从0%开始 - 100%
#完成XML文件中的字符串
#替换文件已下载并下载指定的文件。
我要问的是一个可以执行XML的简单代码功能帮我解决我的项目。
没有重要文件或有些需要。这是一个项目,我坚持并试图为朋友的游戏编码。
感谢高级。
Is it possible to download data from XML files using VB.net at all?
If so would someone help me out or point me in the right direction.
-Explanation-
Well i had launchers/patchers made in VB.net download files from XML files which the data contains in. It reads the strings in the XML file and VB.net reads it and downloads files from the lines/strings.
I''ve opened up the programs via ''Reflector/RedGate'' which can decompile the source and then check to see how it functions. Now most of it is just all difficult/complicated for me to work out.
But these are the functions that the patcher/launcher did have which i could understand clearly.
-How The launchers/patchers Function!-
# It checks to see if the webhost/domain is online.
# Checks if the files exists in the ''DIR''
# Reads the ''XML'' file in the ''DIR''
# Some have HashChecks for the strings that the XML contains. It will check lines/strings for file which the ''Host/Domain'' has uploaded.
# It downloads the files from each line/string that XML contains.
# It then shows the files size, bytes recieved, and the total of bytes download.
# When the download has started there is a progressbar that progresses from 0% - 100%
# Completes the strings in the XML file
# Replaces the files if already downloaded and downloads the files specified.
What I''m asking is a simple code that can do the XML function to help me out with my Project.
There isn''t any important files or somewhat needed. It''s a project that i''m stuck on and trying to code for a game for friends.
Thanks in advanced.
要读取XML文件,您可以使用数据集: http://it.toolbox.com/blogs/techfarmer/populating- a-dataset-from-an-xml-file-using-vbnet-4875 [ ^ ]
要下载文件,请阅读以下内容:http://www.c-sharpcorner.com/UploadFile/bfarley/simple- web-file-download-in-VB-Net / [ ^ ]
To read a XML file you can use a Dataset : http://it.toolbox.com/blogs/techfarmer/populating-a-dataset-from-an-xml-file-using-vbnet-4875[^]
To download a file read the following : http://www.c-sharpcorner.com/UploadFile/bfarley/simple-web-file-download-in-VB-Net/[^]