SPFile.UniqueId Property

Gets the GUID that uniquely identifies the file in the content database.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public Guid UniqueId { get; }

Property Value

Type: System.Guid
A GUID that identifies the file.
Show: