Namespace FileSystem.Protocols
'''
''' The file handle object on the remote server machine.
''' (在远端服务器上面的文件句柄对象)
'''
Public Class FileHandle
'''
''' The file location on the remote file system.
'''
'''
Public Property FileName As String
'''
''' The hash code value on the remote services program.
'''
'''
Public Property HashCode As Integer
Sub New()
End Sub
Sub New(handle As FileHandle)
Me.FileName = handle.FileName
Me.HashCode = handle.HashCode
End Sub
Public Overrides Function ToString() As String
Return Handle
End Function
'''
''' 远程机器上面唯一标示的文件句柄值
'''
'''
Public ReadOnly Property Handle As String
Get
Return $"{HashCode}+{FileName.ToFileURL}"
End Get
End Property
End Class
End Namespace