使用以下代码:
Dim address2 As String = "blablabla"
Dim client2 As WebClient = New WebClient()
Dim reader2 As StreamReader = New StreamReader(client2.OpenRead(address2))
Dim json2 As JObject = JObject.Parse(reader2.ReadToEnd)
If FlatLabel4.Text = "Nível: 30" Then
我希望他,如果"远程服务器返回错误:(404)Not Found。",它会做某事。
我该怎么做?
感谢。