質問編集履歴
2
タイプミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
|
56
56
|
|
57
|
-
WriteLine(ex.Message);//出力
|
57
|
+
WriteLine(ex.Message);//出力 The type initializer for 'System.Net.Http.CurlHandler' threw an exception.
|
58
58
|
|
59
59
|
}
|
60
60
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,37 +24,43 @@
|
|
24
24
|
|
25
25
|
```C#
|
26
26
|
|
27
|
-
static async Task
|
27
|
+
static async Task Main(string[] args)
|
28
28
|
|
29
29
|
{
|
30
|
+
|
31
|
+
|
30
32
|
|
31
33
|
try
|
32
34
|
|
33
35
|
{
|
34
36
|
|
35
|
-
using
|
37
|
+
using(var Get = new HttpClient())
|
36
38
|
|
37
39
|
{
|
38
40
|
|
39
|
-
|
41
|
+
var response = await Get.GetAsync("https://www.youtube.com/");
|
40
42
|
|
41
|
-
var response = await Get.GetAsync(URL);//Getする
|
42
|
-
|
43
|
-
WriteLine("GET");
|
44
|
-
|
45
|
-
re
|
43
|
+
WriteLine(await response.Content.ReadAsStringAsync());
|
46
44
|
|
47
45
|
}
|
48
46
|
|
47
|
+
|
48
|
+
|
49
49
|
}
|
50
50
|
|
51
|
-
catch
|
51
|
+
catch(Exception ex)
|
52
52
|
|
53
53
|
{
|
54
54
|
|
55
|
+
|
56
|
+
|
55
|
-
re
|
57
|
+
WriteLine(ex.Message);//出力 No usable version of the libssl was found
|
56
58
|
|
57
59
|
}
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
ReadLine();
|
58
64
|
|
59
65
|
}
|
60
66
|
|