Пример #1
0
 /// <summary>
 /// Checks if this mapped view represents the same file.
 /// </summary>
 /// <param name="address">The address to check.</param>
 /// <returns>True if the mapped view represents the same file.</returns>
 public bool IsSameMapping(long address)
 {
     return(NtVirtualMemory.AreMappedFilesTheSame(DangerousGetHandle().ToInt64(), address));
 }
Пример #2
0
 /// <summary>
 /// Checks if this mapped view represents the same file.
 /// </summary>
 /// <param name="address">The address to check.</param>
 /// <param name="throw_on_error">True to throw on error.</param>
 /// <returns>True if the mapped view represents the same file.</returns>
 public NtResult <bool> IsSameMapping(long address, bool throw_on_error)
 {
     return(NtVirtualMemory.AreMappedFilesTheSame(DangerousGetHandle().ToInt64(), address, throw_on_error));
 }