@@ -3,7 +3,7 @@ Imports System.Security
3
3
4
4
Module Example
5
5
Public Sub Main()
6
- Dim msg As String = "The curent length of the SecureString object: {0}" + vbCrLf
6
+ Dim msg As String = "The current length of the SecureString object: {0}" + vbCrLf
7
7
Console.WriteLine( "1) Instantiate the SecureString object." )
8
8
Dim ss As New SecureString()
9
9
Console.WriteLine(msg, ss.Length)
@@ -41,26 +41,26 @@ Module Example
41
41
End Module
42
42
' The example displays the following output:
43
43
' 1) Instantiate the SecureString object.
44
- ' The curent length of the SecureString object: 0
44
+ ' The current length of the SecureString object: 0
45
45
'
46
46
' 2) Append 'a' to the value.
47
- ' The curent length of the SecureString object: 1
47
+ ' The current length of the SecureString object: 1
48
48
'
49
49
' 3) Append 'X' to the value.
50
- ' The curent length of the SecureString object: 2
50
+ ' The current length of the SecureString object: 2
51
51
'
52
52
' 4) Append 'c' to the value.
53
- ' The curent length of the SecureString object: 3
53
+ ' The current length of the SecureString object: 3
54
54
'
55
55
' 5) Insert 'd' at the end of the value.
56
- ' The curent length of the SecureString object: 4
56
+ ' The current length of the SecureString object: 4
57
57
'
58
58
' 6) Remove the last character ('d') from the value.
59
- ' The curent length of the SecureString object: 3
59
+ ' The current length of the SecureString object: 3
60
60
'
61
61
' 7) Set the second character of the value to 'b'.
62
- ' The curent length of the SecureString object: 3
62
+ ' The current length of the SecureString object: 3
63
63
'
64
64
' 8) Delete the value of the SecureString object:
65
- ' The curent length of the SecureString object: 0
66
- '</snippet1>
65
+ ' The current length of the SecureString object: 0
66
+ '</snippet1>
0 commit comments