diff --git a/src/ElectronNET.API/Entities/ProcessVersions.cs b/src/ElectronNET.API/Entities/ProcessVersions.cs
new file mode 100644
index 0000000..df41db6
--- /dev/null
+++ b/src/ElectronNET.API/Entities/ProcessVersions.cs
@@ -0,0 +1,10 @@
+namespace ElectronNET.API
+{
+ ///
+ /// An object listing the version strings specific to Electron
+ ///
+ /// Value representing Chrome's version string
+ /// Value representing Electron's version string
+ ///
+ public record ProcessVersions(string Chrome, string Electron);
+}
\ No newline at end of file
diff --git a/src/ElectronNET.API/Entities/Versions.cs b/src/ElectronNET.API/Entities/Versions.cs
deleted file mode 100644
index 254a62c..0000000
--- a/src/ElectronNET.API/Entities/Versions.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-namespace ElectronNET.API
-{
- ///
- ///
- ///
- public class Versions
- {
- ///
- /// Gets or sets a value representing Chrome's version string.
- ///
- public string Chrome { get; set; }
-
- ///
- /// Gets or sets a value representing Electron's version string.
- ///
- public bool Electron { get; set; }
- }
-}
\ No newline at end of file
diff --git a/src/ElectronNET.API/Process.cs b/src/ElectronNET.API/Process.cs
index b4a9d09..e2217b7 100644
--- a/src/ElectronNET.API/Process.cs
+++ b/src/ElectronNET.API/Process.cs
@@ -83,11 +83,11 @@ namespace ElectronNET.API
/// The process.versions property returns an object listing the version strings of
/// chrome and electron.
///
- public Task VersionsAsync
+ public Task VersionsAsync
{
get
{
- return BridgeConnector.GetValueOverSocketAsync(
+ return BridgeConnector.GetValueOverSocketAsync(
"process-versions", "process-versions-Completed");
}
}