Hack Forums
[.NET] VB.NET Chromium + CefSharp Notifcations? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] VB.NET Chromium + CefSharp Notifcations? (/showthread.php?tid=5800006)



VB.NET Chromium + CefSharp Notifcations? - CodeBinary - Feb 15, 2018

Say for example I have chromium loaded on a panel and had it loading web.skype.com/ you know how you get a notification when you get a message. Is there a way to check what the message was when it was sent with VB.Net Chromium?

My code:


Code
Imports CefSharp.WinForms
Imports CefSharp
Imports Microsoft.Win32

Public Class Form1
Private WithEvents browser As ChromiumWebBrowser

   Public Sub New()
       InitializeComponent()

       Dim settings As New CefSettings()
       settings.CefCommandLineArgs.Add("enable-media-stream", "1")
       settings.CachePath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\CEF"
       CefSharp.Cef.Initialize(settings)

       browser = New ChromiumWebBrowser("https://web.skype.com/") With {
           .Dock = DockStyle.Fill
       }
       Panel1.Controls.Add(browser)

   End Sub
End Class



RE: VB.NET Chromium + CefSharp Notifcations? - shazalamm - Mar 7, 2018

(Feb 15, 2018 11:02 AM)Brian O\Conner Wrote:  Say for example I have chromium loaded on a panel and had it loading web.skype.com/ you know how you get a notification when you get a message. Is there a way to check what the message was when it was sent with VB.Net Chromium?

My code:


Code
Imports CefSharp.WinForms
Imports CefSharp
Imports Microsoft.Win32

Public Class Form1
Private WithEvents browser As ChromiumWebBrowser

   Public Sub New()
       InitializeComponent()

       Dim settings As New CefSettings()
       settings.CefCommandLineArgs.Add("enable-media-stream", "1")
       settings.CachePath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\CEF"
       CefSharp.Cef.Initialize(settings)

       browser = New ChromiumWebBrowser("https://web.skype.com/") With {
           .Dock = DockStyle.Fill
       }
       Panel1.Controls.Add(browser)

   End Sub
End Class


scammer

https://hackforums.net/showthread.php?tid=5808566