[mono-vb] Microsoft.VisualBasic.Devices.ComputerInfo.TotalPhysicalMemory

Andrew Benz andorbal at gmail.com
Tue Mar 15 18:26:39 EDT 2011


I don't know if it's in the MS .NET runtime, but I know it's in Mono's
implementation of the MemoryCache object.  It's an internal method, though.
 I can take a crack and getting you a patch tomorrow (I've got class
tonight), but I've got two questions: first, are you averse to taking a
dependency on System.Diagnostics and second, the functionality I'd like to
use currently exists in the main Mono class library but is not publicly
accessible.  Is there a way of sharing that code or is copy & paste good
enough?

Thanks
Andrew

On Tue, Mar 15, 2011 at 4:55 PM, Rolf Bjarne Kvinge <rolflists at ya.com>wrote:

> Hi,
>
>
>
> From what you tell it can be used. I wasn’t able to find System.Runtime.Caching.MemoryCache.DetermineTotalPhysicalMemory
> on MSDN though.
>
>
>
> In any case I’d be happy to commit any patches you may have.
>
>
>
> Rolf
>
>
>
> *From:* mono-vb-bounces at lists.ximian.com [mailto:
> mono-vb-bounces at lists.ximian.com] *On Behalf Of *Andrew Benz
> *Sent:* lunes, 14 de marzo de 2011 19:30
> *To:* mono-vb at lists.ximian.com
> *Subject:* [mono-vb]
> Microsoft.VisualBasic.Devices.ComputerInfo.TotalPhysicalMemory
>
>
>
> I just ran into an issue where a library that I'm trying to use makes use
> of the Microsoft.VisualBasic.Devices.ComputerInfo.TotalPhysicalMemory, which
> is currently throwing a NotImplementedException.  I'm guessing that this
> method is supposed to return the save value
> as System.Runtime.Caching.MemoryCache.DetermineTotalPhysicalMemory, which is
> implemented in the main mono runtime.  Could that functionality be re-used
> in the TotalPhysicalMemory property?
>
>
> Thanks,
> Andrew
> ------------------------------
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1204 / Virus Database: 1498/3508 - Release Date: 03/15/11
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20110315/d09ab9e7/attachment.html 


More information about the Mono-vb mailing list