[Facepunch] Any way to get SteamId from Friend?

Hi!

I have been researching this for a while now but I can’t find a solution.

In Steamworks Facepunch, I can get the Lobby members in a list of Friends.
I want to check in a foreach loop, which of the Friends is the lobby host, but there I would need the SteamId of the Friend I’m checking.

This is how I would like it to work:

foreach(Friend member in lobby.Members)
{
    if (lobby.IsOwnedBy(new SteamId(member)))
    {
        // Stuff for only when checking Host
        break;
    }
}

Where new SteamId(member) is not valid code.

The same would work when getting Friend from SteamId:

new Friend(SteamClient.SteamId);

Checking the host seems to require the SteamId:s to check it, but I can’t find any way to get SteamId from Friend.

All I find is only how to get the SteamId of the local client (like shown in the second code), but that’s quite wrong since I would want to check especially the other members in Lobby.

Thanks a lot in advance.

I feel really stupid right now, the answer was right there… It is just:

if (lobby.IsOwnedBy(member.Id)) // member is in datatype Friend
{
     // Stuff
}