# SharedFileInfo

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SharedFileInfo/

Struct for shared file information.

- **Full name:** `MFiles.SharedFileInfo`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-title"></a>`title` | `string` | 1 | The title of the file. |
| <a id="f-extension"></a>`extension` | `string` | 2 | File extension, not including the dot (e.g. "doc"). |
| <a id="f-logical_size"></a>`logical_size` | `int64` | 3 | The logical size of the file in bytes. |
| <a id="f-change_time"></a>`change_time` | [`google.protobuf.Timestamp`](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp) | 4 | The time in UTC the file was last written to or its attributes were changed. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCSharedLinksPublic.GetSharedLinkInfo](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSharedLinksPublic/GetSharedLinkInfo/index.md): Gets the name, extension and size of the file that a shared link points to, without logging in.

<a id="used-in-fields"></a>

## Used in fields

- [`GetSharedLinkInfoResponse.result`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSharedLinksPublic/GetSharedLinkInfo/index.md#response): The file's title, extension, size and change time.
